[llvm] [RISCV] Implement RISCVTTIImpl::shouldConsiderAddressTypePromotion for RISCV (PR #102560)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 8 23:54:50 PDT 2024
LiqinWeng wrote:
> Why are there InstCombine changes in this patch?
I removed the optimization I had implemented in instcombine. I think that when the offset in the address calculation is a constant, it can be covered in the current patch and does not need to be implemented in InstCombine.
![image](https://github.com/user-attachments/assets/3a42f5d2-b714-4d4b-ac33-dfd7663b023c)
https://github.com/llvm/llvm-project/pull/102560
More information about the llvm-commits
mailing list