aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2024-08-29 09:07:51 -0700
committerGitHub <noreply@github.com>2024-08-29 09:07:51 -0700
commita9ffb719bc323588b6b60fbf227db8104a81310e (patch)
treeaa22ed5ef25d29a9cd92d4a5ae9c2985f90e0c13 /clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp
parentb5a1b45fe321cdf57d1b6155ecbbc18b6f95502f (diff)
downloadllvm-a9ffb719bc323588b6b60fbf227db8104a81310e.zip
llvm-a9ffb719bc323588b6b60fbf227db8104a81310e.tar.gz
llvm-a9ffb719bc323588b6b60fbf227db8104a81310e.tar.bz2
[RISCV] Don't promote f16 FNEG/FABS with Zfhmin/Zhinxmin. (#106474)
fneg/fabs are not supposed to canonicalize nans. Promoting to f32 will go through an fp_extend which will canonicalize. The generic Promote handler needs to be removed from LegalizeDAG. We need to use integer bit manip to clear the bit instead. Unfortunately, this is going through the stack due to i16 not being a legal type. Fixing that will require custom legalization or some other generic SelectionDAG change.
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp')
0 files changed, 0 insertions, 0 deletions