summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/BPF/BPFAsmPrinter.cpp
diff options
context:
space:
mode:
authorAlex Bradbury <asb@lowrisc.org>2017-11-21 07:51:32 +0000
committerAlex Bradbury <asb@lowrisc.org>2017-11-21 07:51:32 +0000
commit65385167fbb4d30fcdddf54102b08fcb1b497fed (patch)
tree4fea586b3edb7cc795b3934f08326e7d500343aa /llvm/lib/Target/BPF/BPFAsmPrinter.cpp
parent364f11cdd3f7cbb68d77ebf07eace2b26a786119 (diff)
downloadbcm5719-llvm-65385167fbb4d30fcdddf54102b08fcb1b497fed.tar.gz
bcm5719-llvm-65385167fbb4d30fcdddf54102b08fcb1b497fed.zip
[RISCV] Implement lowering of ISD::SELECT
Although ISD::SELECT_CC is a more natural match for RISCVISD::SELECT_CC (and ultimately the integer RISC-V conditional branch instructions), we choose to expand ISD::SELECT_CC and lower ISD::SELECT. The appropriate compare+branch will be created in the case where an ISD::SELECT condition value is created by an ISD::SETCC node, which operates on XLen types. Other datatypes such as floating point don't have conditional branch instructions, and lowering ISD::SELECT allows more flexibility for handling these cases. Differential Revision: https://reviews.llvm.org/D29937 llvm-svn: 318735
Diffstat (limited to 'llvm/lib/Target/BPF/BPFAsmPrinter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud