diff options
author | Matthias Braun <matze@braunis.de> | 2015-04-07 17:33:05 +0000 |
---|---|---|
committer | Matthias Braun <matze@braunis.de> | 2015-04-07 17:33:05 +0000 |
commit | b6ac8fa39e6a4a154e848bc51781bfff5a69c8da (patch) | |
tree | b11cb3ddd29be1783f4925a5522596beec408db4 /llvm/utils/lit | |
parent | cb9b43b3596decc35eb4f8150abab2b8df47b9ff (diff) | |
download | bcm5719-llvm-b6ac8fa39e6a4a154e848bc51781bfff5a69c8da.tar.gz bcm5719-llvm-b6ac8fa39e6a4a154e848bc51781bfff5a69c8da.zip |
AArch64: Don't lower ISD::SELECT to ISD::SELECT_CC
Instead of lowering SELECT to SELECT_CC which is further lowered later
immediately call the SELECT_CC lowering code. This is preferable
because:
- Avoids an unnecessary roundtrip through the legalization queues with
an intermediate node.
- More importantly: Lowered operations get visited last leading to SELECT_CC
getting visited with legalized operands and unlegalized ones for preexisting
SELECT_CC nodes. This does not hurt the current code (hence no testcase) but
is required for another patch I am working on.
Differential Revision: http://reviews.llvm.org/D8187
llvm-svn: 234334
Diffstat (limited to 'llvm/utils/lit')
0 files changed, 0 insertions, 0 deletions