llvm-project
dd662d80 - [RISCV] Handle ADD in RISCVInstrInfo::isCopyInstrImpl (#81123)

Commit
247 days ago
[RISCV] Handle ADD in RISCVInstrInfo::isCopyInstrImpl (#81123) Split out from #77610 and features a test, as a buggy version of this caused a regression when landing that patch (the previous version had a typo picking the wrong register as the source). This is also motivated by future changes to MachineCopyPropagation which will use this information to determine if we have been left with a nop mv.
Author
asb asb
Parents
Loading