summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/Reassociate/subtest.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Transforms/Reassociate/subtest.ll')
-rw-r--r--llvm/test/Transforms/Reassociate/subtest.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/Reassociate/subtest.ll b/llvm/test/Transforms/Reassociate/subtest.ll
index e6263d85522..e0406a6a284 100644
--- a/llvm/test/Transforms/Reassociate/subtest.ll
+++ b/llvm/test/Transforms/Reassociate/subtest.ll
@@ -15,7 +15,7 @@ define i32 @test1(i32 %A, i32 %B) {
; With sub reassociation, constant folding can eliminate the uses of %a.
define i32 @test2(i32 %a, i32 %b, i32 %c) nounwind {
; CHECK-LABEL: @test2
-; CHECK-NEXT: %sum = add i32 %c, %b
+; CHECK-NEXT: %sum = add i32 %b, %c
; CHECK-NEXT: %tmp7 = sub i32 0, %sum
; CHECK-NEXT: ret i32 %tmp7
OpenPOWER on IntegriCloud