remove a turd

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81186 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2009-09-08 03:47:41 +00:00
parent 4cb81bdd56
commit 687bc9bfde

View File

@ -12145,7 +12145,6 @@ Instruction *InstCombiner::visitExtractElementInst(ExtractElementInst &EI) {
return BinaryOperator::Create(BO->getOpcode(), newEI0, newEI1);
}
} else if (LoadInst *LI = dyn_cast<LoadInst>(I)) {
// r25299
// Instead of loading a vector, then doing an extract element out of it,
// just bitcast the pointer operand, do a gep, then load the result.
// This shrinks the vector load to a scalar load.