aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/SCCP
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2012-04-27 07:59:20 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2012-04-27 07:59:20 +0000
commitd213ee764341b5bf6664469a5404fe19c9732828 (patch)
tree7f7b3d88ce2f60550d930beee4702008db78df3a /test/Transforms/SCCP
parente507922779b0d0d9ed3c159306174b4e191d119a (diff)
Revert r155682, "Use ConstantExpr::getExtractElement when constant-folding vectors"
It broke stage2 build. stage1/clang sometimes crashed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155699 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/SCCP')
-rw-r--r--test/Transforms/SCCP/vector-bitcast.ll20
1 files changed, 0 insertions, 20 deletions
diff --git a/test/Transforms/SCCP/vector-bitcast.ll b/test/Transforms/SCCP/vector-bitcast.ll
deleted file mode 100644
index b032085083..0000000000
--- a/test/Transforms/SCCP/vector-bitcast.ll
+++ /dev/null
@@ -1,20 +0,0 @@
-; RUN: opt -sccp -S < %s | FileCheck %s
-
-target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128-n8:16:32-S128"
-
-; CHECK: store volatile <2 x i64> zeroinitializer, <2 x i64>* %p
-; rdar://11324230
-
-define void @foo(<2 x i64>* %p) nounwind {
-entry:
- br label %while.body.i
-
-while.body.i: ; preds = %while.body.i, %entry
- %vWorkExponent.i.033 = phi <4 x i32> [ %sub.i.i, %while.body.i ], [ <i32 939524096, i32 939524096, i32 939524096, i32 939524096>, %entry ]
- %sub.i.i = add <4 x i32> %vWorkExponent.i.033, <i32 -8388608, i32 -8388608, i32 -8388608, i32 -8388608>
- %0 = bitcast <4 x i32> %sub.i.i to <2 x i64>
- %and.i119.i = and <2 x i64> %0, zeroinitializer
- store volatile <2 x i64> %and.i119.i, <2 x i64>* %p
- br label %while.body.i
-}
-