[llvm] [DAG] Fold (mul (sext (add_nsw x, c1)), c2) -> (add (mul (sext x), c2), c1*c2) (PR #69667)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 24 22:39:04 PST 2023
LiqinWeng wrote:
> I think maybe we should implement `RISCVTTIImpl::shouldConsiderAddressTypePromotion` for RISC-V. Which enables CodeGenPrepare to do some address optimizations. I have a patch for that in my downstream I can try to extract.
Hi, Is this currently implemented? @topperc
https://github.com/llvm/llvm-project/pull/69667
More information about the llvm-commits
mailing list