aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2023-02-14 23:43:17 -0800
committerCraig Topper <craig.topper@sifive.com>2023-02-14 23:43:17 -0800
commit2872987e5e91cbda423a3b2be061756a116902b6 (patch)
tree6aa35e5fc067a40875ff4d46f769bd07d9accd64 /clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
parent41628d050a1724b1a634b420ea099bf15793c8d0 (diff)
downloadllvm-2872987e5e91cbda423a3b2be061756a116902b6.zip
llvm-2872987e5e91cbda423a3b2be061756a116902b6.tar.gz
llvm-2872987e5e91cbda423a3b2be061756a116902b6.tar.bz2
[InstCombine] Fix InstCombinerImpl::foldICmpMulConstant for nsw and nuw mul with unsigned compare.
If we have both an nsw and nuw flag, we would see the nsw flag first and only handle signed comparisons. This patch ignores the nsw flag if the comparison isn't signed. Reviewed By: nikic Differential Revision: https://reviews.llvm.org/D143766
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp')
0 files changed, 0 insertions, 0 deletions