summaryrefslogtreecommitdiffstats
path: root/llvm/test/Regression/Transforms/InstCombine/shift-simplify.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Regression/Transforms/InstCombine/shift-simplify.ll')
-rw-r--r--llvm/test/Regression/Transforms/InstCombine/shift-simplify.ll22
1 files changed, 0 insertions, 22 deletions
diff --git a/llvm/test/Regression/Transforms/InstCombine/shift-simplify.ll b/llvm/test/Regression/Transforms/InstCombine/shift-simplify.ll
deleted file mode 100644
index ce19384d165..00000000000
--- a/llvm/test/Regression/Transforms/InstCombine/shift-simplify.ll
+++ /dev/null
@@ -1,22 +0,0 @@
-; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | egrep 'shl|lshr|ashr' | wc -l | grep 3
-
-int %test0(int %A, int %B, ubyte %C) {
- %X = shl int %A, ubyte %C
- %Y = shl int %B, ubyte %C
- %Z = and int %X, %Y
- ret int %Z
-}
-
-int %test1(int %A, int %B, ubyte %C) {
- %X = lshr int %A, ubyte %C
- %Y = lshr int %B, ubyte %C
- %Z = or int %X, %Y
- ret int %Z
-}
-
-int %test2(int %A, int %B, ubyte %C) {
- %X = ashr int %A, ubyte %C
- %Y = ashr int %B, ubyte %C
- %Z = xor int %X, %Y
- ret int %Z
-}
OpenPOWER on IntegriCloud