| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | [InstCombine] remove dead code from visitExtractElement | Sanjay Patel | 2018-12-05 | 1 | -2/+11 |
| | | | | | | | | | Extracting from a splat constant is always handled by InstSimplify. Move the test for this from InstCombine to InstSimplify to make sure that stays true. llvm-svn: 348423 | ||||
| * | [instsimplify] consistently handle undef and out of bound indices for ↵ | Philip Reames | 2017-12-30 | 1 | -2/+36 |
| | | | | | | | | | | | insertelement and extractelement In one case, we were handling out of bounds, but not undef indices. In the other, we were handling undef (with the comment making the analogy to out of bounds), but not out of bounds. Be consistent and treat both undef and constant out of bounds indices as producing undefined results. As a side effect, this also protects instcombine from having to handle large constant indices as we always simplify first. llvm-svn: 321575 | ||||
| * | [InstSimplify] Check for in range extraction index before calling ↵ | Simon Pilgrim | 2017-12-26 | 1 | -0/+13 |
| APInt::getZExtValue() Reduced from oss-fuzz #4768 test case llvm-svn: 321454 | |||||

