[PATCH] D122572: [X86] combineCarryThroughADD - recognise X86ISD::ADD(AND(X,1),-1) pattern can be folded to X86ISD::BT

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 29 07:20:05 PDT 2022


RKSimon updated this revision to Diff 418872.
RKSimon added a comment.

cleanup type legalization for BT nodes


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D122572/new/

https://reviews.llvm.org/D122572

Files:
  llvm/lib/Target/X86/X86ISelLowering.cpp
  llvm/test/CodeGen/X86/addcarry.ll
  llvm/test/CodeGen/X86/combine-adc.ll
  llvm/test/CodeGen/X86/subcarry.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122572.418872.patch
Type: text/x-patch
Size: 4156 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220329/1e46750a/attachment.bin>


More information about the llvm-commits mailing list