diff options
author | Joshua Cao <cao.joshua@yahoo.com> | 2022-11-19 13:25:30 -0500 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2022-12-13 11:40:44 +0100 |
commit | cca01df291300fb06879fca5113bc71567c64738 (patch) | |
tree | 3bf433f63c89727a0a6fb989e77878d3cdd5a0ba /clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp | |
parent | 4f3b1c6dd6ef6c7b5bb79f058e3b7ba4bcdf4566 (diff) | |
download | llvm-cca01df291300fb06879fca5113bc71567c64738.zip llvm-cca01df291300fb06879fca5113bc71567c64738.tar.gz llvm-cca01df291300fb06879fca5113bc71567c64738.tar.bz2 |
[CVP] Eliminate urem when LHS < RHS
Fol `X % Y -> X` when we can determine `X < Y` based on constant
range information.
Fixes https://github.com/llvm/llvm-project/issues/58408.
Differential Revision: https://reviews.llvm.org/D138360
Diffstat (limited to 'clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp')
0 files changed, 0 insertions, 0 deletions