llvm-project/clang/test/CodeGen/pr3997.c

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
406 B
C
Raw Normal View History

// 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}