[PATCH] D120516: [SDAG] fold bitwise logic with shifted operands

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 25 09:35:38 PST 2022


spatel updated this revision to Diff 411437.
spatel marked an inline comment as done.
spatel added a comment.

Added assert/todo for ISD::OR opcode.


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

https://reviews.llvm.org/D120516

Files:
  llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  llvm/test/CodeGen/AArch64/icmp-shift-opt.ll
  llvm/test/CodeGen/AArch64/logic-shift.ll
  llvm/test/CodeGen/ARM/consthoist-icmpimm.ll
  llvm/test/CodeGen/ARM/icmp-shift-opt.ll
  llvm/test/CodeGen/X86/icmp-shift-opt.ll
  llvm/test/CodeGen/X86/logic-shift.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120516.411437.patch
Type: text/x-patch
Size: 38213 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220225/ec0aa5cf/attachment.bin>


More information about the llvm-commits mailing list