[PATCH] D130517: [GlobalISel] Add sdiv exact (X, constant) -> mul combine.
Amara Emerson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 7 16:00:53 PDT 2022
aemerson updated this revision to Diff 450675.
aemerson added a comment.
Remove redundant constant operand check.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D130517/new/
https://reviews.llvm.org/D130517
Files:
llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h
llvm/include/llvm/Target/GlobalISel/Combine.td
llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
llvm/lib/CodeGen/GlobalISel/Utils.cpp
llvm/test/CodeGen/AArch64/GlobalISel/combine-sdiv.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130517.450675.patch
Type: text/x-patch
Size: 11351 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220807/689301ad/attachment.bin>
More information about the llvm-commits
mailing list