[PATCH] D128769: [DAGCombiner][X86] 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
Thu Jun 30 17:31:31 PDT 2022
craig.topper updated this revision to Diff 441559.
craig.topper added a comment.
Move N1C check.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D128769/new/
https://reviews.llvm.org/D128769
Files:
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/test/CodeGen/X86/shift-combine.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128769.441559.patch
Type: text/x-patch
Size: 7294 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220701/d2d3d369/attachment.bin>
More information about the llvm-commits
mailing list