summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/NaryReassociate/pr24301.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Transforms/NaryReassociate/pr24301.ll')
-rw-r--r--llvm/test/Transforms/NaryReassociate/pr24301.ll15
1 files changed, 0 insertions, 15 deletions
diff --git a/llvm/test/Transforms/NaryReassociate/pr24301.ll b/llvm/test/Transforms/NaryReassociate/pr24301.ll
deleted file mode 100644
index 49a4d2863e1..00000000000
--- a/llvm/test/Transforms/NaryReassociate/pr24301.ll
+++ /dev/null
@@ -1,15 +0,0 @@
-; RUN: opt < %s -nary-reassociate -S | FileCheck %s
-; RUN: opt < %s -passes='nary-reassociate' -S | FileCheck %s
-
-define i32 @foo(i32 %tmp4) {
-; CHECK-LABEL: @foo(
-entry:
- %tmp5 = add i32 %tmp4, 8
- %tmp13 = add i32 %tmp4, -128 ; deleted
- %tmp14 = add i32 %tmp13, 8 ; => %tmp5 + -128
- %tmp21 = add i32 119, %tmp4
- ; do not rewrite %tmp23 against %tmp13 because %tmp13 is already deleted
- %tmp23 = add i32 %tmp21, -128
-; CHECK: %tmp23 = add i32 %tmp21, -128
- ret i32 %tmp23
-}
OpenPOWER on IntegriCloud