[PATCH] D143883: [InstCombine] canonicalize urem as cmp+select
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 15 23:52:50 PST 2023
nikic added inline comments.
================
Comment at: llvm/include/llvm/Analysis/InstructionSimplify.h:244
+ const SimplifyQuery &Q,
+ const Instruction *CxtI = nullptr);
----------------
Why the new parameter? You can use `SQ.withInstruction(I)` to change the context instruction.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D143883/new/
https://reviews.llvm.org/D143883
More information about the llvm-commits
mailing list