Revert r155682, "Use ConstantExpr::getExtractElement when constant-folding vectors"
authorNAKAMURA Takumi <geek4civic@gmail.com>
Fri, 27 Apr 2012 07:59:20 +0000 (07:59 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Fri, 27 Apr 2012 07:59:20 +0000 (07:59 +0000)
commitd213ee764341b5bf6664469a5404fe19c9732828
tree7f7b3d88ce2f60550d930beee4702008db78df3a
parente507922779b0d0d9ed3c159306174b4e191d119a
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
lib/Analysis/ConstantFolding.cpp
lib/VMCore/ConstantFold.cpp
test/Other/constant-fold-gep.ll
test/Transforms/SCCP/vector-bitcast.ll [deleted file]