[llvm-commits] CVS: llvm/lib/Transforms/Scalar/InstructionCombining.cpp
Chris Lattner
sabre at nondot.org
Wed Jan 31 10:09:35 PST 2007
Changes in directory llvm/lib/Transforms/Scalar:
InstructionCombining.cpp updated: 1.616 -> 1.617
---
Log message:
Revert another incorrectly applied chunk, which fixes InstCombine/vec_insert_to_shuffle.ll
---
Diffs of the changes: (+0 -7)
InstructionCombining.cpp | 7 -------
1 files changed, 7 deletions(-)
Index: llvm/lib/Transforms/Scalar/InstructionCombining.cpp
diff -u llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.616 llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.617
--- llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.616 Tue Jan 30 22:40:53 2007
+++ llvm/lib/Transforms/Scalar/InstructionCombining.cpp Wed Jan 31 12:09:17 2007
@@ -8992,13 +8992,6 @@
}
}
- // 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;
}
More information about the llvm-commits
mailing list