summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/InstSimplify/extract-element.ll
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Temporarily Revert "Add basic loop fusion pass.""Eric Christopher2019-04-171-0/+56
| | | | | | | | The reversion apparently deleted the test/Transforms directory. Will be re-reverting again. llvm-svn: 358552
* Temporarily Revert "Add basic loop fusion pass."Eric Christopher2019-04-171-56/+0
| | | | | | | | As it's causing some bot failures (and per request from kbarton). This reverts commit r358543/ab70da07286e618016e78247e4a24fcb84077fda. llvm-svn: 358546
* [InstCombine] remove dead code from visitExtractElementSanjay Patel2018-12-051-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 Reames2017-12-301-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 Pilgrim2017-12-261-0/+13
APInt::getZExtValue() Reduced from oss-fuzz #4768 test case llvm-svn: 321454
OpenPOWER on IntegriCloud