[PATCH] D159198: [DAG] Fold (shl (sext (add_nsw x, c1)), c2) -> (add (shl (sext x), c2), c1 << c2)
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 1 04:12:35 PDT 2023
RKSimon added a comment.
Any further comments - does any of the RISCV gurus have any thoughts on whether isDesirableToCommuteWithShift needs adjusting?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D159198/new/
https://reviews.llvm.org/D159198
More information about the llvm-commits
mailing list