diff options
Diffstat (limited to 'test/Transforms/Reassociate/subtest2.ll')
-rw-r--r-- | test/Transforms/Reassociate/subtest2.ll | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/test/Transforms/Reassociate/subtest2.ll b/test/Transforms/Reassociate/subtest2.ll deleted file mode 100644 index 0513c5f..0000000 --- a/test/Transforms/Reassociate/subtest2.ll +++ /dev/null @@ -1,13 +0,0 @@ -; With sub reassociation, constant folding can eliminate the uses of %a. -; -; RUN: opt < %s -reassociate -instcombine -S | grep %a | count 1 -; PR2047 - -define i32 @test(i32 %a, i32 %b, i32 %c) nounwind { -entry: - %tmp3 = sub i32 %a, %b ; <i32> [#uses=1] - %tmp5 = sub i32 %tmp3, %c ; <i32> [#uses=1] - %tmp7 = sub i32 %tmp5, %a ; <i32> [#uses=1] - ret i32 %tmp7 -} - |