summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/function-attributes.c
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2015-09-11 23:48:37 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2015-09-11 23:48:37 +0000
commit67037ee21e95804528ecb559980ad9d35ba2eed1 (patch)
tree855d24c864167ad8fbd5c3a1dd9b576de215f0ff /clang/test/CodeGen/function-attributes.c
parent67a4fc71df2a46a273ee5aa8f81e31e92067e5da (diff)
downloadbcm5719-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.c5
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 }
OpenPOWER on IntegriCloud