[PATCH] D143883: [InstCombine] canonicalize urem as cmp+select
Allen zhong via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 13 00:36:53 PST 2023
Allen created this revision.
Allen added reviewers: nikic, spatel, lebedev.ri, xbolva00, RKSimon, efriedma.
Herald added subscribers: StephenFan, hiraditya.
Herald added a project: All.
Allen requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Fix https://github.com/llvm/llvm-project/issues/60546
https://reviews.llvm.org/D143883
Files:
llvm/include/llvm/Analysis/InstructionSimplify.h
llvm/lib/Analysis/InstructionSimplify.cpp
llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
llvm/test/Transforms/InstCombine/urem-via-cmp-select.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143883.496858.patch
Type: text/x-patch
Size: 4179 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230213/76646b67/attachment.bin>
More information about the llvm-commits
mailing list