[llvm] [RISCV] Fold vp.reverse(vp.load(ADDR, MASK)) -> vp.strided.load(ADDR, -1, MASK). (PR #123115)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 15 19:22:25 PST 2025


topperc wrote:

> LGTM, also could be done in DAGCombiner?

Probably the only tricky bit is getting the type for the stride, but I guess we can use the pointer VT?

https://github.com/llvm/llvm-project/pull/123115


More information about the llvm-commits mailing list