[PATCH] D135380: [GlobalISel] Combine (X op Y) == X --> Y == 0

Jessica Paquette via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 7 20:23:45 PDT 2022


paquette updated this revision to Diff 466241.
paquette added a comment.

Use shiny new commutative matcher


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

https://reviews.llvm.org/D135380

Files:
  llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
  llvm/include/llvm/Target/GlobalISel/Combine.td
  llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
  llvm/test/CodeGen/AArch64/GlobalISel/combine-icmp-of-binop-to-icmp-of-0.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135380.466241.patch
Type: text/x-patch
Size: 36106 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221008/c4a22a74/attachment.bin>


More information about the llvm-commits mailing list