Roger Ferrer Ibanez
d41059a9f6
[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
2018-02-16 09:23:59 +00:00
Roger Ferrer Ibanez
9fcc4727ac
[ARM] Add tests for D34515
...
This is NFC and a preparatory step for D34515.
Differential Revision: https://reviews.llvm.org/D41122
llvm-svn: 320795
2017-12-15 09:24:46 +00:00
Nikolai Bozhenov
1925594ea0
[NFC] Use stdin for some tests instead of positional argument.
...
Summary: Otherwise unexpected matches with the path to the tests might happen.
Reviewers: rengolin, spatel, efriedma, RKSimon
Reviewed By: spatel
Subscribers: n.bozhenov, javed.absar, llvm-commits
Patch by Andrei Elovikov <andrei.elovikov@intel.com>
Differential Revision: https://reviews.llvm.org/D32994
llvm-svn: 306684
2017-06-29 14:51:54 +00:00
Saleem Abdulrasool
905b6d192c
ARM: yet another round of ARM test clean ups
...
llvm-svn: 205586
2014-04-03 23:47:24 +00:00
Dan Gohman
c8054d90fb
Eliminate more uses of llvm-as and llvm-dis.
...
llvm-svn: 81293
2009-09-09 00:09:15 +00:00
Evan Cheng
d76d0aa68a
Move thumb and thumb2 tests into separate directories.
...
llvm-svn: 74068
2009-06-24 06:36:07 +00:00