aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorNoah Goldstein <goldstein.w.n@gmail.com>2024-04-09 11:58:03 -0500
committerNoah Goldstein <goldstein.w.n@gmail.com>2024-04-10 10:40:49 -0500
commitf1ee458ddb45c9887b3df583ce9a4ba12aae8b3b (patch)
tree91ac89bce1c5a32a56dc855ea6e1c006af420c12 /flang/lib/Frontend/CompilerInvocation.cpp
parent2ff82c2c6490a1478e4311f60f1ce80af0957403 (diff)
downloadllvm-f1ee458ddb45c9887b3df583ce9a4ba12aae8b3b.zip
llvm-f1ee458ddb45c9887b3df583ce9a4ba12aae8b3b.tar.gz
llvm-f1ee458ddb45c9887b3df583ce9a4ba12aae8b3b.tar.bz2
[ValueTracking] improve `isKnownNonZero` precision for `smax`
Instead of relying on known-bits for strictly positive, use the `isKnownPositive` API. This will use `isKnownNonZero` which is more accurate. Closes #88170
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions