[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
Sat Jul 9 11:54:19 PDT 2022


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG40866b74bd42: [DAGCombiner][X86] Fold sra (sub AddC, (shl X, N1C)), N1C --> sext (sub AddC1'… (authored by craig.topper).

Changed prior to commit:
  https://reviews.llvm.org/D128769?vs=441559&id=443453#toc

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.443453.patch
Type: text/x-patch
Size: 7344 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220709/a0a89f61/attachment.bin>


More information about the llvm-commits mailing list