blob: 814144cd14d13555b4a97b0a7c58e850549b5307 [file] [log] [blame]
// 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}