Files
llvm/test/CodeGen/Thumb
David Green 963f1fa4ac [ARM] Favour PL/MI over GE/LT when possible
The arm condition codes for GE is N==V (and for LT is N!=V). If the source of
flags cannot set V (overflow), such as a cmp against #0, then we can use the
simpler PL and MI conditions that only check N. As these PL/MI conditions are
simpler than GE/LT, other passes like the peephole optimiser can have a better
time optimising away the redundant CMPs.

The exception is the VSEL instruction, which cannot take the PL code, so there
the transform favours GE.

Differential Revision: https://reviews.llvm.org/D64160


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@365117 91177308-0d34-0410-b5e6-96231b3b80d8
2019-07-04 08:58:58 +00:00
..
2016-06-29 17:34:31 +00:00
2018-01-08 11:32:37 +00:00
2019-06-17 09:13:29 +00:00
2014-01-11 21:06:00 +00:00