aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/InstCombine/2007-03-27-PR1280.ll
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2010-01-31 04:40:45 +0000
committerEli Friedman <eli.friedman@gmail.com>2010-01-31 04:40:45 +0000
commitb406c47ea92d402843cd4c1f18ad45672fbf9dde (patch)
tree86ec13b83c9918fe92e70fde698bf16f9da04a70 /test/Transforms/InstCombine/2007-03-27-PR1280.ll
parentbe7cfa6033d9f432a30f43870705bd57db0cbd5b (diff)
downloadexternal_llvm-b406c47ea92d402843cd4c1f18ad45672fbf9dde.zip
external_llvm-b406c47ea92d402843cd4c1f18ad45672fbf9dde.tar.gz
external_llvm-b406c47ea92d402843cd4c1f18ad45672fbf9dde.tar.bz2
Remove test which is no longer relevant.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94944 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/InstCombine/2007-03-27-PR1280.ll')
-rw-r--r--test/Transforms/InstCombine/2007-03-27-PR1280.ll15
1 files changed, 0 insertions, 15 deletions
diff --git a/test/Transforms/InstCombine/2007-03-27-PR1280.ll b/test/Transforms/InstCombine/2007-03-27-PR1280.ll
deleted file mode 100644
index 7700c7d..0000000
--- a/test/Transforms/InstCombine/2007-03-27-PR1280.ll
+++ /dev/null
@@ -1,15 +0,0 @@
-; PR1280 - we should be able to reduce this function to a trunc/sext but it
-; would involve using a bit width (24) that doesn't match a size that
-; the back end can handle. This test makes sure that such a transform
-; is not done. It should be removed when code gen supports "funny"
-; bit widths.
-
-; RUN: opt < %s -instcombine -S | grep {add i49.*-8388608}
-
-define i49 @test5(i49 %x) {
- ;; If we have ADD(XOR(AND(X, 0xFF), 0x80), 0xF..F80), it's a sext.
- %X = and i49 %x, 16777215 ; 0x0000000ffffff
- %tmp.2 = xor i49 %X, 8388608 ; 0x0000000800000
- %tmp.4 = add i49 %tmp.2, -8388608 ; 0x1FFFFFF800000
- ret i49 %tmp.4
-}