summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/attr-naked.c
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-02-15 21:30:01 +0000
committerBill Wendling <isanbard@gmail.com>2013-02-15 21:30:01 +0000
commit985d1c5d15d7a09d4cf7fdad1d502aadc1672fd6 (patch)
treeb8a47e64d3688decb45cf1c7f3c5613f9bb7d2d6 /clang/test/CodeGen/attr-naked.c
parente78ecc2cc70b48907fdaea4dbadf0aecb84f2f86 (diff)
downloadbcm5719-llvm-985d1c5d15d7a09d4cf7fdad1d502aadc1672fd6.tar.gz
bcm5719-llvm-985d1c5d15d7a09d4cf7fdad1d502aadc1672fd6.zip
Add the 'target-cpu' and 'target-features' attributes to functions.
The back-end will use these values to reconfigure code generation for different features. llvm-svn: 175308
Diffstat (limited to 'clang/test/CodeGen/attr-naked.c')
-rw-r--r--clang/test/CodeGen/attr-naked.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGen/attr-naked.c b/clang/test/CodeGen/attr-naked.c
index 7b42ef8e717..a77e1eed950 100644
--- a/clang/test/CodeGen/attr-naked.c
+++ b/clang/test/CodeGen/attr-naked.c
@@ -4,13 +4,13 @@ void t1() __attribute__((naked));
// Basic functionality check
// (Note that naked needs to imply noinline to work properly.)
-// CHECK: define void @t1() naked noinline nounwind {
+// CHECK: define void @t1() naked noinline nounwind {{.*}} {
void t1()
{
}
// Make sure this doesn't explode in the verifier.
// (It doesn't really make sense, but it isn't invalid.)
-// CHECK: define void @t2() naked noinline nounwind {
+// CHECK: define void @t2() naked noinline nounwind {{.*}} {
__attribute((naked, always_inline)) void t2() {
}
OpenPOWER on IntegriCloud