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/ScalarRepl | |
| 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/ScalarRepl')
| -rw-r--r-- | llvm/test/Transforms/ScalarRepl/phi-cycle.ll | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/test/Transforms/ScalarRepl/phi-cycle.ll b/llvm/test/Transforms/ScalarRepl/phi-cycle.ll index cb5101c2dd8..05d9382cec4 100644 --- a/llvm/test/Transforms/ScalarRepl/phi-cycle.ll +++ b/llvm/test/Transforms/ScalarRepl/phi-cycle.ll @@ -67,7 +67,7 @@ while.cond.backedge.i: ; preds = %if.end.i, %while.bo ; CHECK: func.exit: ; CHECK-NOT: load -; CHECK: %call = call i32 (i8*, ...)* @printf(i8* getelementptr inbounds ([6 x i8]* @.str, i64 0, i64 0), i32 %tmp) nounwind +; CHECK: %call = call i32 (i8*, ...)* @printf(i8* getelementptr inbounds ([6 x i8]* @.str, i64 0, i64 0), i32 %tmp) [[NUW:#[0-9]+]] func.exit: ; preds = %while.body.i.func.exit_crit_edge, %while.cond.i.func.exit_crit_edge %tmp3 = load i32* %x.i, align 4 %call = call i32 (i8*, ...)* @printf(i8* getelementptr inbounds ([6 x i8]* @.str, i64 0, i64 0), i32 %tmp3) nounwind @@ -75,3 +75,6 @@ func.exit: ; preds = %while.body.i.func.e } declare i32 @printf(i8* nocapture, ...) nounwind + +; CHECK: attributes #0 = { nounwind uwtable } +; CHECK: attributes [[NUW]] = { nounwind } |

