Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | In Thumb1 mode, the custom lowering for ARMISD::CMPZ could never emit tADDi3 | Artyom Skrobov | 2017-02-17 | 1 | -1/+2 |
| | | | | | | | | | | | | Reviewers: jmolloy, t.p.northover Reviewed By: t.p.northover Subscribers: t.p.northover, aemerson, rengolin, llvm-commits Differential Revision: https://reviews.llvm.org/D30097 llvm-svn: 295478 | ||||
* | [Thumb] Select (CMPZ X, -C) -> (CMPZ (ADDS X, C), 0) | James Molloy | 2016-09-09 | 1 | -0/+32 |
The CMPZ #0 disappears during peepholing, leaving just a tADDi3, tADDi8 or t2ADDri. This avoids having to materialize the expensive negative constant in Thumb-1, and allows a shrinking from a 32-bit CMN to a 16-bit ADDS in Thumb-2. llvm-svn: 281040 |