[PATCH] D118635: [GlobalISel] Combine: (G_*MULO x, 0) -> 0 + no carry out
Jessica Paquette via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 31 11:54:36 PST 2022
paquette updated this revision to Diff 404652.
paquette added a comment.
Check both G_BUILD_VECTOR and G_CONSTANT for vector types.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118635/new/
https://reviews.llvm.org/D118635
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/prelegalizer-combiner-mulo-zero.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118635.404652.patch
Type: text/x-patch
Size: 9072 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220131/afb82959/attachment.bin>
More information about the llvm-commits
mailing list