[RISCV] Rework fault first only load isel.
authorCraig Topper <craig.topper@sifive.com>
Wed, 27 Jan 2021 19:01:07 +0000 (11:01 -0800)
committerCraig Topper <craig.topper@sifive.com>
Wed, 27 Jan 2021 19:51:41 +0000 (11:51 -0800)
commita40e01e4423ca13052f0fe0e5bc14abec1dd866e
tree7e4bac783f462d6c3e51ea4f5fe6ff4e7df6ff31
parente47a388bd6486d0af7066f1d8b033a13d0ffc7df
[RISCV] Rework fault first only load isel.

-Remove the ISD opcode for READ_VL. Just emit the MachineSDNode directly.
-Move segmented fault first only load intrinsic handling completely to
 RISCVISelDAGToDAG.cpp and emit the ReadVL MachineSDNode there
 instead of lowering to ISD opcodes first.
llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
llvm/lib/Target/RISCV/RISCVISelLowering.h
llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td