[SVE] Replace remaining _MERGE_OP1 nodes with _PRED variants.
authorPaul Walker <paul.walker@arm.com>
Tue, 4 Aug 2020 10:19:17 +0000 (11:19 +0100)
committerPaul Walker <paul.walker@arm.com>
Tue, 4 Aug 2020 10:19:17 +0000 (11:19 +0100)
commit4be13b15d69d9d70506277eb1900eadccd75f608
tree1f8b810b40eb96aedc97450f54545b42e57cfaa4
parente734e8286b4b521d829aaddb6d1cbbd264953625
[SVE] Replace remaining _MERGE_OP1 nodes with _PRED variants.

This is the final bit of work to relax the register allocation
requirements when code generating normal LLVM IR, which rarely
care about the result of inactive lanes. By using _PRED nodes
we can make better use of SVE's reversed instructions.

Also removes a redundant parameter from the min/max tests.

Differential Revision: https://reviews.llvm.org/D85142
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/lib/Target/AArch64/AArch64ISelLowering.h
llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
llvm/lib/Target/AArch64/SVEInstrFormats.td
llvm/test/CodeGen/AArch64/llvm-ir-to-intrinsic.ll