diff options
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2015-09-11 23:48:37 +0000 |
---|---|---|
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2015-09-11 23:48:37 +0000 |
commit | 67037ee21e95804528ecb559980ad9d35ba2eed1 (patch) | |
tree | 855d24c864167ad8fbd5c3a1dd9b576de215f0ff /clang/test/CodeGen/function-attributes.c | |
parent | 67a4fc71df2a46a273ee5aa8f81e31e92067e5da (diff) | |
download | bcm5719-llvm-67037ee21e95804528ecb559980ad9d35ba2eed1.tar.gz bcm5719-llvm-67037ee21e95804528ecb559980ad9d35ba2eed1.zip |
Revert "Specify target triple in alwaysinline tests."
Revert "Always_inline codegen rewrite."
Breaks gdb & lldb tests.
Breaks on Fedora 22 x86_64.
llvm-svn: 247491
Diffstat (limited to 'clang/test/CodeGen/function-attributes.c')
-rw-r--r-- | clang/test/CodeGen/function-attributes.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/test/CodeGen/function-attributes.c b/clang/test/CodeGen/function-attributes.c index 4a7d4fc0edb..177ad848f74 100644 --- a/clang/test/CodeGen/function-attributes.c +++ b/clang/test/CodeGen/function-attributes.c @@ -25,8 +25,8 @@ void f6(signed short x) { } void f7(unsigned short x) { } -// CHECK: define void @f8() -// CHECK: [[NUW:#[0-9]+]] +// CHECK-LABEL: define void @f8() +// CHECK: [[AI:#[0-9]+]] // CHECK: { void __attribute__((always_inline)) f8(void) { } @@ -129,6 +129,7 @@ void f20(void) { } // CHECK: attributes [[NUW]] = { nounwind optsize readnone{{.*}} } +// CHECK: attributes [[AI]] = { alwaysinline nounwind optsize readnone{{.*}} } // CHECK: attributes [[ALIGN]] = { nounwind optsize readnone alignstack=16{{.*}} } // CHECK: attributes [[RT]] = { nounwind optsize returns_twice{{.*}} } // CHECK: attributes [[NR]] = { noreturn nounwind optsize } |