[PATCH] D87668: [GISel] Add new GISel combiners for G_MUL
Michael Kitzan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 15 12:17:48 PDT 2020
mkitzan updated this revision to Diff 291991.
mkitzan added a comment.
- Changed `mul_by_one` to `right_identity_one`
- Changed `mul_by_neg_one` to use `matchConstantOp`
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87668/new/
https://reviews.llvm.org/D87668
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-mul.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87668.291991.patch
Type: text/x-patch
Size: 8423 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200915/7a8291b9/attachment.bin>
More information about the llvm-commits
mailing list