diff options
| author | Bill Wendling <isanbard@gmail.com> | 2013-02-22 09:09:42 +0000 |
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2013-02-22 09:09:42 +0000 |
| commit | a032374ea0d069bff44045eee72ebdaa100ccc7a (patch) | |
| tree | 15d310cc9553439cca1d1503b091719d49efaecf /llvm/test/Transforms/ObjCARC/ensure-that-exception-unwind-path-is-visited.ll | |
| parent | 2386c8b2211f3708cb475ffbcfb38df127559bb1 (diff) | |
| download | bcm5719-llvm-a032374ea0d069bff44045eee72ebdaa100ccc7a.tar.gz bcm5719-llvm-a032374ea0d069bff44045eee72ebdaa100ccc7a.zip | |
Use references to attribute groups on the call/invoke instructions.
Listing all of the attributes for the callee of a call/invoke instruction is way
too much and makes the IR unreadable. Use references to attributes instead.
llvm-svn: 175877
Diffstat (limited to 'llvm/test/Transforms/ObjCARC/ensure-that-exception-unwind-path-is-visited.ll')
| -rw-r--r-- | llvm/test/Transforms/ObjCARC/ensure-that-exception-unwind-path-is-visited.ll | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/llvm/test/Transforms/ObjCARC/ensure-that-exception-unwind-path-is-visited.ll b/llvm/test/Transforms/ObjCARC/ensure-that-exception-unwind-path-is-visited.ll index 1fd03e7d9c6..05257d1d5cf 100644 --- a/llvm/test/Transforms/ObjCARC/ensure-that-exception-unwind-path-is-visited.ll +++ b/llvm/test/Transforms/ObjCARC/ensure-that-exception-unwind-path-is-visited.ll @@ -42,7 +42,7 @@ entry: ; CHECK: call i8* bitcast (i8* (i8*, i8*, ...)* @objc_msgSend to i8* (i8*, i8*)*)(i8* %tmp2, i8* %tmp1) %call = call i8* bitcast (i8* (i8*, i8*, ...)* @objc_msgSend to i8* (i8*, i8*)*)(i8* %tmp2, i8* %tmp1), !dbg !37, !clang.arc.no_objc_arc_exceptions !38 call void @llvm.dbg.value(metadata !{i8* %call}, i64 0, metadata !12), !dbg !37 -; CHECK: call i8* @objc_retain(i8* %call) nounwind +; CHECK: call i8* @objc_retain(i8* %call) [[NUW:#[0-9]+]] %tmp3 = call i8* @objc_retain(i8* %call) nounwind, !dbg !39 call void @llvm.dbg.value(metadata !{i8* %call}, i64 0, metadata !25), !dbg !39 invoke fastcc void @ThrowFunc(i8* %call) @@ -104,6 +104,12 @@ declare void @NSLog(i8*, ...) declare void @llvm.dbg.value(metadata, i64, metadata) nounwind readnone +; CHECK: attributes #0 = { ssp uwtable } +; CHECK: attributes #1 = { nounwind readnone } +; CHECK: attributes #2 = { nonlazybind } +; CHECK: attributes #3 = { noinline ssp uwtable } +; CHECK: attributes [[NUW]] = { nounwind } + !llvm.dbg.cu = !{!0} !llvm.module.flags = !{!33, !34, !35, !36} |

