projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad58eb3
)
Revert another incorrectly applied chunk, which fixes InstCombine/vec_insert_to_shuff...
author
Chris Lattner
<sabre@nondot.org>
Wed, 31 Jan 2007 18:09:17 +0000
(18:09 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 31 Jan 2007 18:09:17 +0000
(18:09 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33705
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 39841d6cee798a91301a309dff7c51f172e9bc20..a47ecd002316417bf7ab7b9eea1353c9017be4de 100644
(file)
--- a/
lib/Transforms/Scalar/InstructionCombining.cpp
+++ b/
lib/Transforms/Scalar/InstructionCombining.cpp
@@
-8992,13
+8992,6
@@
Instruction *InstCombiner::visitShuffleVectorInst(ShuffleVectorInst &SVI) {
}
}
- // See if SimplifyDemandedVectorElts can simplify based on this shuffle. For
- // example, if this is a splat, then we only demand from one input element.
- uint64_t UndefElts;
- if (Value *V = SimplifyDemandedVectorElts(&SVI, (1ULL << Mask.size())-1,
- UndefElts))
- return ReplaceInstUsesWith(SVI, V);
-
return MadeChange ? &SVI : 0;
}