diff options
| author | Roger Ferrer Ibanez <roger.ferreribanez@arm.com> | 2018-02-16 09:23:59 +0000 |
|---|---|---|
| committer | Roger Ferrer Ibanez <roger.ferreribanez@arm.com> | 2018-02-16 09:23:59 +0000 |
| commit | d41059a9f6d04d3314636f6da524ba74b3442f3b (patch) | |
| tree | 8703db1755eb01d1909401ce4efe91baef9dc7bd /llvm/lib/Target/ARM/ARMInstrVFP.td | |
| parent | 42a16192626c01b1cada04c51893f153f95c8698 (diff) | |
| download | bcm5719-llvm-d41059a9f6d04d3314636f6da524ba74b3442f3b.tar.gz bcm5719-llvm-d41059a9f6d04d3314636f6da524ba74b3442f3b.zip | |
[ARM] Materialise some boolean values to avoid a branch
This patch combines some cases of ARMISD::CMOV for integers that arise in comparisons of the form
a != b ? x : 0
a == b ? 0 : x
and that currently (e.g. in Thumb1) are emitted as branches.
Differential Revision: https://reviews.llvm.org/D34515
llvm-svn: 325323
Diffstat (limited to 'llvm/lib/Target/ARM/ARMInstrVFP.td')
0 files changed, 0 insertions, 0 deletions

