[PATCH] D147108: [InstCombine] Add transforms for `(rem (shl Y, X), (shl Z, X))`
Sander de Smalen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 18 01:04:48 PDT 2023
sdesmalen accepted this revision.
sdesmalen added a comment.
This revision is now accepted and ready to land.
Thanks for the changes, LGTM!
================
Comment at: llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp:1808
+ ShiftByX = true;
+ } else {
return nullptr;
----------------
nit: unnecessary curly braces (same above)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D147108/new/
https://reviews.llvm.org/D147108
More information about the llvm-commits
mailing list