diff options
| author | Chris Lattner <sabre@nondot.org> | 2007-01-31 18:09:17 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2007-01-31 18:09:17 +0000 |
| commit | 4fc18a4cb807ee6955af56fc7074cdc160ccfefd (patch) | |
| tree | 5e06a672c4128d70750b07e31ffc6e5817105b4b /llvm/lib | |
| parent | 5f8809078f1ffd584feb0e23b626a65a1d1ea399 (diff) | |
| download | bcm5719-llvm-4fc18a4cb807ee6955af56fc7074cdc160ccfefd.tar.gz bcm5719-llvm-4fc18a4cb807ee6955af56fc7074cdc160ccfefd.zip | |
Revert another incorrectly applied chunk, which fixes InstCombine/vec_insert_to_shuffle.ll
llvm-svn: 33705
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Transforms/Scalar/InstructionCombining.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp b/llvm/lib/Transforms/Scalar/InstructionCombining.cpp index 39841d6cee7..a47ecd00231 100644 --- a/llvm/lib/Transforms/Scalar/InstructionCombining.cpp +++ b/llvm/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; } |

