diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-02-15 21:30:01 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-02-15 21:30:01 +0000 |
commit | 985d1c5d15d7a09d4cf7fdad1d502aadc1672fd6 (patch) | |
tree | b8a47e64d3688decb45cf1c7f3c5613f9bb7d2d6 /clang/test/CodeGen/ms-declspecs.c | |
parent | e78ecc2cc70b48907fdaea4dbadf0aecb84f2f86 (diff) | |
download | bcm5719-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.c | 4 |
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() |