summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/ms-declspecs.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/ms-declspecs.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/ms-declspecs.c')
-rw-r--r--clang/test/CodeGen/ms-declspecs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGen/ms-declspecs.c b/clang/test/CodeGen/ms-declspecs.c
index 7158e28f0e1..eb41d3b52f7 100644
--- a/clang/test/CodeGen/ms-declspecs.c
+++ b/clang/test/CodeGen/ms-declspecs.c
@@ -8,14 +8,14 @@ union { struct S s; } u;
// CHECK: @u = {{.*}}zeroinitializer, align 16
-// CHECK: define void @t3() naked noinline nounwind {
+// CHECK: define void @t3() naked noinline nounwind {{.*}} {
__declspec(naked) void t3() {}
// CHECK: define void @t22() nounwind
void __declspec(nothrow) t22();
void t22() {}
-// CHECK: define void @t2() noinline nounwind {
+// CHECK: define void @t2() noinline nounwind {{.*}} {
__declspec(noinline) void t2() {}
// CHECK: call void @f20_t()
OpenPOWER on IntegriCloud