diff options
Diffstat (limited to 'clang/test/CodeGen/attr-coldhot.c')
-rw-r--r-- | clang/test/CodeGen/attr-coldhot.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/test/CodeGen/attr-coldhot.c b/clang/test/CodeGen/attr-coldhot.c index b9bb299b5e4..f553b136ebb 100644 --- a/clang/test/CodeGen/attr-coldhot.c +++ b/clang/test/CodeGen/attr-coldhot.c @@ -4,6 +4,8 @@ int test1() __attribute__((__cold__)) { return 42; // Check that we set the optsize attribute on the function. -// CHECK: @test1{{.*}}optsize +// CHECK: @test1{{.*}}#0 // CHECK: ret } + +// CHECK: attributes #0 = { nounwind optsize "target-features"={{.*}} } |