Similar with https://reviews.llvm.org/D60395.
This is for operator srem.
Paths
| Differential D60647
[InstCombine] Canonicalize (-X srem Y) to -(X srem Y) ClosedPublic Authored by shchenz on Apr 13 2019, 12:58 AM.
Details
Diff Detail Event TimelineComment Actions LGTM, thank you
This revision is now accepted and ready to land.Apr 13 2019, 1:48 AM Closed by commit rL358328: [InstCombine] Canonicalize (-X srem Y) to -(X srem Y). (authored by shchenz). · Explain WhyApr 13 2019, 2:21 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 195003 llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
llvm/test/Transforms/InstCombine/srem-canonicalize.ll
|