[PATCH] D128769: [DAGCombiner] Fold sra (sub AddC, (shl X, N1C)), N1C --> sext (sub AddC1',(trunc X to (width - N1C)))
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 28 16:45:10 PDT 2022
craig.topper added a comment.
There's still a more general form of this that can show up near address arithmetic that we don't catch https://godbolt.org/z/WKfYvbvxe
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D128769/new/
https://reviews.llvm.org/D128769
More information about the llvm-commits
mailing list