[PATCH] D29937: [RISCV 15/n] Implement lowering of ISD::SELECT

Alex Bradbury via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 8 05:51:26 PST 2017


asb updated this revision to Diff 122071.
asb retitled this revision from "[RISCV 15/n] Implement lowering of ISD::SELECT_CC" to "[RISCV 15/n] Implement lowering of ISD::SELECT".
asb edited the summary of this revision.
asb added a comment.
Herald added a subscriber: rbar.

This minor revision of the patch switches to lowering ISD::SELECT. This is motivated by future support for the floating point instruction set extensions and the coarse-grained nature of setOperationAction. See the updated patch description and new code comments for more discussion, but essentially we need to ensure that a RISC-V compare+branch instruction is generated whenever the comparison is between two XLEN integers.


https://reviews.llvm.org/D29937

Files:
  lib/Target/RISCV/RISCVISelLowering.cpp
  lib/Target/RISCV/RISCVISelLowering.h
  lib/Target/RISCV/RISCVInstrInfo.td
  test/CodeGen/RISCV/select-cc.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29937.122071.patch
Type: text/x-patch
Size: 12724 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171108/75108a62/attachment.bin>


More information about the llvm-commits mailing list