aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2008-05-17 19:00:05 +0000
committerNick Lewycky <nicholas@mxc.ca>2008-05-17 19:00:05 +0000
commitf35d61af72103b1d0b9a8758fe3ace3cbe2a7488 (patch)
treea50e9bc1928ac0458c71dc95437b6723e67ffebc /test/Transforms
parent045fd2257d50995f84241ab00bb26adc0c2a3522 (diff)
downloadexternal_llvm-f35d61af72103b1d0b9a8758fe3ace3cbe2a7488.zip
external_llvm-f35d61af72103b1d0b9a8758fe3ace3cbe2a7488.tar.gz
external_llvm-f35d61af72103b1d0b9a8758fe3ace3cbe2a7488.tar.bz2
Revert constant-folding change that will miscompile in some cases.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51223 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms')
-rw-r--r--test/Transforms/InstCombine/2008-05-17-FoldIntToPtr.ll8
1 files changed, 0 insertions, 8 deletions
diff --git a/test/Transforms/InstCombine/2008-05-17-FoldIntToPtr.ll b/test/Transforms/InstCombine/2008-05-17-FoldIntToPtr.ll
index 1d93294..e69de29 100644
--- a/test/Transforms/InstCombine/2008-05-17-FoldIntToPtr.ll
+++ b/test/Transforms/InstCombine/2008-05-17-FoldIntToPtr.ll
@@ -1,8 +0,0 @@
-; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {ret i1 false}
-; PR2329
-
-define i1 @f() {
- %x = icmp eq i8* inttoptr (i32 1 to i8*), inttoptr (i32 2 to i8*)
- ret i1 %x
-}
-