llvm-project
18a06576 - [RISCV] Move unpaired instruction back in RISCVLoadStoreOptimizer (#189912)

Commit
24 days ago
[RISCV] Move unpaired instruction back in RISCVLoadStoreOptimizer (#189912) There are cases when the `Xqcilsm` vendor extension is enabled that we are unable to pair non-adjacent load/store instructions. The `RISCVLoadStoreOptimizer` moves the instruction adjacent to the other before attempting to pair them but does not move them back when it fails. This can sometimes prevent the generation of the `Xqcilsm` load/store multiple instructions. This patch ensures that we move the unpaired instruction back to it's original location.
Author
Parents
Loading