Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RISCV] Make shouldConvertConstantLoadToIntImm return true unless ena…
…bleUnalignedScalarMem is true. This restores the old behavior before D129402 when enableUnalignedScalarMem is false. This fixes a regression spotted by @asb. To fix this correctly, we need to consider alignment of the load we'd be replacing, but that's not possible in the current interface.
- Loading branch information