mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-27 15:41:46 +00:00
8497ef4086
Reviewers: rnk, mkuper Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D27051 llvm-svn: 298177
14 lines
406 B
C
14 lines
406 B
C
// RUN: %clang_cc1 %s -triple i386-unknown-linux-gnu -mregparm 3 -emit-llvm -o - | FileCheck %s
|
|
|
|
void *memcpy(void *dest, const void *src, unsigned int n);
|
|
|
|
void use_builtin_memcpy(void *dest, const void *src, unsigned int n) {
|
|
__builtin_memcpy(dest, src, n);
|
|
}
|
|
|
|
void use_memcpy(void *dest, const void *src, unsigned int n) {
|
|
memcpy(dest, src, n);
|
|
}
|
|
|
|
//CHECK: !{i32 1, !"NumRegisterParameters", i32 3}
|