aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ConstantFolding.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2025-07-04 18:38:28 -0700
committerGitHub <noreply@github.com>2025-07-04 18:38:28 -0700
commit57cb9265bf48850372ebe7dfc46c517b99b35d7c (patch)
tree9df84e80634631b50dcbe9d5f884f5989ec64cd8 /llvm/lib/Analysis/ConstantFolding.cpp
parent21fb7e68ef05180e71e454fb4daecdcb75256a5e (diff)
downloadllvm-57cb9265bf48850372ebe7dfc46c517b99b35d7c.zip
llvm-57cb9265bf48850372ebe7dfc46c517b99b35d7c.tar.gz
llvm-57cb9265bf48850372ebe7dfc46c517b99b35d7c.tar.bz2
[Analysis] Drop const from a return type (NFC) (#147098)
We don't need const on a return type.
Diffstat (limited to 'llvm/lib/Analysis/ConstantFolding.cpp')
-rw-r--r--llvm/lib/Analysis/ConstantFolding.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/ConstantFolding.cpp b/llvm/lib/Analysis/ConstantFolding.cpp
index af955f2..6e469c0 100644
--- a/llvm/lib/Analysis/ConstantFolding.cpp
+++ b/llvm/lib/Analysis/ConstantFolding.cpp
@@ -1963,7 +1963,7 @@ inline bool llvm_fenv_testexcept() {
return false;
}
-static const APFloat FTZPreserveSign(const APFloat &V) {
+static APFloat FTZPreserveSign(const APFloat &V) {
if (V.isDenormal())
return APFloat::getZero(V.getSemantics(), V.isNegative());
return V;