OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cb81bd
)
remove a turd
author
Chris Lattner
<sabre@nondot.org>
Tue, 8 Sep 2009 03:47:41 +0000
(
03:47
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 8 Sep 2009 03:47:41 +0000
(
03:47
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81186
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Scalar/InstructionCombining.cpp
b/lib/Transforms/Scalar/InstructionCombining.cpp
index
17d7555
..
fcbb4d3
100644
(file)
--- a/
lib/Transforms/Scalar/InstructionCombining.cpp
+++ b/
lib/Transforms/Scalar/InstructionCombining.cpp
@@
-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.