[PATCH] D109130: [GlobalISel] Combine icmp eq/ne x, 0/1 -> x when x == 0 or 1
Jessica Paquette via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 2 14:12:49 PDT 2021
paquette updated this revision to Diff 370405.
paquette marked an inline comment as done.
paquette added a comment.
add missing testcase + use unsigned instead of `const auto`
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D109130/new/
https://reviews.llvm.org/D109130
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-to-lhs-known-bits.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109130.370405.patch
Type: text/x-patch
Size: 12202 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210902/4f424551/attachment.bin>
More information about the llvm-commits
mailing list