diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-02-22 09:10:20 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-02-22 09:10:20 +0000 |
commit | e1c4a1babd90ea097ef80df44011e977212c2e78 (patch) | |
tree | c8a4cf6471fcb59e39f19d8a21421daed9285b24 /clang/test/CodeGen/builtin-attributes.c | |
parent | a032374ea0d069bff44045eee72ebdaa100ccc7a (diff) | |
download | bcm5719-llvm-e1c4a1babd90ea097ef80df44011e977212c2e78.tar.gz bcm5719-llvm-e1c4a1babd90ea097ef80df44011e977212c2e78.zip |
Update to use references to attribute groups instead of listing the attributes on the call/invoke instructions.
llvm-svn: 175878
Diffstat (limited to 'clang/test/CodeGen/builtin-attributes.c')
-rw-r--r-- | clang/test/CodeGen/builtin-attributes.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/clang/test/CodeGen/builtin-attributes.c b/clang/test/CodeGen/builtin-attributes.c index 1d3a94376d5..79026cb54b8 100644 --- a/clang/test/CodeGen/builtin-attributes.c +++ b/clang/test/CodeGen/builtin-attributes.c @@ -12,7 +12,7 @@ void f1() { exit(1); } -// CHECK: call i8* @strstr{{.*}} nounwind +// CHECK: call i8* @strstr{{.*}} [[NUW:#[0-9]+]] char* f2(char* a, char* b) { return __builtin_strstr(a, b); } @@ -57,3 +57,6 @@ int f3(double x) { __builtin_remquol(x, x, &e); return e; } + +// CHECK: attributes [[NUW]] = { nounwind } +// CHECK: attributes #1 = { noreturn } |