summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/MSP430/selectcc.ll
Commit message (Collapse)AuthorAgeFilesLines
* [DAGCombiner] add operation legality checks before creating shift ops (PR43542)Sanjay Patel2019-10-031-38/+23
| | | | | | | | | | | | | | As discussed on llvm-dev and: https://bugs.llvm.org/show_bug.cgi?id=43542 ...we have transforms that assume shift operations are legal and transforms to use them are profitable, but that may not hold for simple targets. In this case, the MSP430 target custom lowers shifts by repeating (many) simpler/fixed ops. That can be avoided by keeping this code as setcc/select. Differential Revision: https://reviews.llvm.org/D68397 llvm-svn: 373666
* [MSP430] add tests for unwanted shift codegen; NFC (PR43542)Sanjay Patel2019-10-031-0/+61
llvm-svn: 373607
OpenPOWER on IntegriCloud