aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
diff options
context:
space:
mode:
authorJoshua Cao <cao.joshua@yahoo.com>2022-11-19 13:25:30 -0500
committerNikita Popov <npopov@redhat.com>2022-12-13 11:40:44 +0100
commitcca01df291300fb06879fca5113bc71567c64738 (patch)
tree3bf433f63c89727a0a6fb989e77878d3cdd5a0ba /clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
parent4f3b1c6dd6ef6c7b5bb79f058e3b7ba4bcdf4566 (diff)
downloadllvm-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