diff options
author | Nikita Popov <npopov@redhat.com> | 2022-11-02 11:25:42 +0100 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2022-11-03 15:35:27 +0100 |
commit | 68b24c3b448946f86586be6e66af64cdce6edadc (patch) | |
tree | f7cd6fc7ea5e3eb2ca8477d0fe568da37692a13b /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 150fc73ddab65901e2f89c70af436706b859eef8 (diff) | |
download | llvm-68b24c3b448946f86586be6e66af64cdce6edadc.zip llvm-68b24c3b448946f86586be6e66af64cdce6edadc.tar.gz llvm-68b24c3b448946f86586be6e66af64cdce6edadc.tar.bz2 |
[CVP] Simplify comparisons without constant operand
CVP currently only tries to simplify comparisons if there is a
constant operand. However, even if both are non-constant, we may
be able to determine the result of the comparison based on range
information.
IPSCCP is already capable of doing this, but because it runs very
early, it may miss some cases.
Differential Revision: https://reviews.llvm.org/D137253
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions