[llvm] 9ead5c1 - Type: Clarify comment for isIEEELikeFPTy
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 4 15:40:14 PDT 2023
Author: Matt Arsenault
Date: 2023-10-04T15:39:59-07:00
New Revision: 9ead5c127138eff408f8d12ad450782484e6537b
URL: https://github.com/llvm/llvm-project/commit/9ead5c127138eff408f8d12ad450782484e6537b
DIFF: https://github.com/llvm/llvm-project/commit/9ead5c127138eff408f8d12ad450782484e6537b.diff
LOG: Type: Clarify comment for isIEEELikeFPTy
Added:
Modified:
llvm/include/llvm/IR/Type.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/IR/Type.h b/llvm/include/llvm/IR/Type.h
index c12e899d58fa834..c38078cc6087ef7 100644
--- a/llvm/include/llvm/IR/Type.h
+++ b/llvm/include/llvm/IR/Type.h
@@ -166,8 +166,8 @@ class Type {
bool isPPC_FP128Ty() const { return getTypeID() == PPC_FP128TyID; }
/// Return true if this is a well-behaved IEEE-like type, which has a IEEE
- /// compatible layout as defined by isIEEE(), and does not have unnormal
- /// values
+ /// compatible layout as defined by APFloat::isIEEE(), and does not have
+ /// non-IEEE values, such as x86_fp80's unnormal values.
bool isIEEELikeFPTy() const {
switch (getTypeID()) {
case DoubleTyID:
More information about the llvm-commits
mailing list