summaryrefslogtreecommitdiffstats
path: root/llvm/test/Regression/Transforms/Reassociate/subtest.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Regression/Transforms/Reassociate/subtest.ll')
-rw-r--r--llvm/test/Regression/Transforms/Reassociate/subtest.ll10
1 files changed, 0 insertions, 10 deletions
diff --git a/llvm/test/Regression/Transforms/Reassociate/subtest.ll b/llvm/test/Regression/Transforms/Reassociate/subtest.ll
deleted file mode 100644
index 097c355aaa4..00000000000
--- a/llvm/test/Regression/Transforms/Reassociate/subtest.ll
+++ /dev/null
@@ -1,10 +0,0 @@
-; With sub reassociation, constant folding can eliminate the 12 and -12 constants.
-;
-; RUN: llvm-upgrade < %s | llvm-as | opt -reassociate -constprop -instcombine -die | llvm-dis | not grep 12
-
-int "test"(int %A, int %B) {
- %X = add int -12, %A
- %Y = sub int %X, %B
- %Z = add int %Y, 12
- ret int %Z
-}
OpenPOWER on IntegriCloud