Files
clang-p2996/llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
Alex Bradbury 71a977d0d6 [RISCV] Add shift-add (SH1ADD, ...) to isCopyInstrImpl (#133443)
As with #132002, these do show up in a compilation of llvm-test-suite
(including SPEC 2017). We remove 30-40 static instances so this isn't
anything earth shattering.

rs2 is always added to the other shifted (and potentially extended)
operand unmodified, so rs1==zero is equivalent to a copy.
2025-03-28 15:46:50 +00:00

162 KiB