summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/InstCombine/scalarization.ll
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Temporarily Revert "Add basic loop fusion pass.""Eric Christopher2019-04-171-0/+335
| | | | | | | | 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-335/+0
| | | | | | | | As it's causing some bot failures (and per request from kbarton). This reverts commit r358543/ab70da07286e618016e78247e4a24fcb84077fda. llvm-svn: 358546
* [InstCombine] add tests for extract of vector load; NFCSanjay Patel2018-12-181-0/+57
| | | | | | | | | | There's a mismatch internally about how we are handling these patterns. We count loads as cheapToScalarize(), but then we don't actually scalarize them, so that can leave extra instructions compared to where we started when scalarizing other ops. If it's cheapToScalarize, then we should be scalarizing. llvm-svn: 349560
* [InstCombine] add tests for scalarization; NFCSanjay Patel2018-12-181-4/+59
| | | | | | We miss pattern matching a splat constant if it has undef elements. llvm-svn: 349515
* InstCombine: Scalarize single use icmp/fcmpMatt Arsenault2018-12-101-16/+16
| | | | llvm-svn: 348801
* InstCombine: Add some missing tests for scalarizationMatt Arsenault2018-12-061-0/+115
| | | | llvm-svn: 348456
* [InstCombine] remove dead code from visitExtractElementSanjay Patel2018-12-051-8/+0
| | | | | | | | 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
* [InstCombine] add/move tests for extractelement; NFCSanjay Patel2018-12-051-4/+34
| | | | llvm-svn: 348417
* [InstCombine] add tests for extractelement; NFCSanjay Patel2018-09-211-0/+28
| | | | | | | There are folds under visitExtractElementInst() that don't appear to have any test coverage, so adding a few basic cases here. llvm-svn: 342740
* [InstCombine] rename test file, simplify tests, regenerate full checks; NFCSanjay Patel2018-09-201-0/+58
Fast-math is irrelevant for these transforms. llvm-svn: 342683
OpenPOWER on IntegriCloud