[llvm] [RISCV] Add short forward branch support for `lb`, `lbu`, `lh`, `lhu`, `lw`, `lwu` and `ld` (PR #170829)

via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 9 20:22:41 PST 2025


================
@@ -897,6 +897,74 @@ MachineInstr *RISCVInstrInfo::foldMemoryOperandImpl(
       .addImm(0);
 }
 
+unsigned getLoadPredicatedOpcode(unsigned Opcode) {
----------------
hchandel wrote:

Done

https://github.com/llvm/llvm-project/pull/170829


More information about the llvm-commits mailing list