We can always fold zext.b since it is just andi. The others require
Zba/Zbb.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D130302
[RISCV] Add sext.b/h and zext.b/h/w to RISCVInstrInfo::foldMemoryOperandImpl. ClosedPublic Authored by craig.topper on Jul 21 2022, 2:02 PM.
Details Summary We can always fold zext.b since it is just andi. The others require
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jul 21 2022, 2:11 PM This revision was landed with ongoing or failed builds.Jul 21 2022, 2:55 PM Closed by commit rGab2348a6fa98: [RISCV] Add sext.b/h and zext.b/h/w to RISCVInstrInfo::foldMemoryOperandImpl. (authored by craig.topper). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 446643 llvm/lib/Target/RISCV/RISCVInstrInfo.h
llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
llvm/test/CodeGen/RISCV/stack-folding.ll
|