[PATCH] D111856: [AArch64][GlobalISel] combine (and (or x, c1), c2) => (and x, c2) iff c1 & c2 == 0
Jon Roelofs via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 15 12:57:32 PDT 2021
jroelofs updated this revision to Diff 380086.
jroelofs added a comment.
Modify the G_AND in-place, and ignore vector types.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D111856/new/
https://reviews.llvm.org/D111856
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-and-or-disjoint-mask.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111856.380086.patch
Type: text/x-patch
Size: 6336 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211015/317fbafd/attachment.bin>
More information about the llvm-commits
mailing list