[llvm] e2d7d98 - [FPEnv] Update comment about nofpexcept default. NFC

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 11 08:18:02 PDT 2023


Author: Luke Lau
Date: 2023-07-11T16:17:56+01:00
New Revision: e2d7d988115c1b67b0175be5d6bc95153945b5be

URL: https://github.com/llvm/llvm-project/commit/e2d7d988115c1b67b0175be5d6bc95153945b5be
DIFF: https://github.com/llvm/llvm-project/commit/e2d7d988115c1b67b0175be5d6bc95153945b5be.diff

LOG: [FPEnv] Update comment about nofpexcept default. NFC

It no longer defaults to false as of 63336795f0d5

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D154973

Added: 
    

Modified: 
    llvm/include/llvm/CodeGen/SelectionDAGNodes.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/CodeGen/SelectionDAGNodes.h b/llvm/include/llvm/CodeGen/SelectionDAGNodes.h
index 5ccda000941c0d..ba2222390a76cd 100644
--- a/llvm/include/llvm/CodeGen/SelectionDAGNodes.h
+++ b/llvm/include/llvm/CodeGen/SelectionDAGNodes.h
@@ -392,8 +392,8 @@ struct SDNodeFlags {
   // We assume instructions do not raise floating-point exceptions by default,
   // and only those marked explicitly may do so.  We could choose to represent
   // this via a positive "FPExcept" flags like on the MI level, but having a
-  // negative "NoFPExcept" flag here (that defaults to true) makes the flag
-  // intersection logic more straightforward.
+  // negative "NoFPExcept" flag here makes the flag intersection logic more
+  // straightforward.
   bool NoFPExcept : 1;
   // Instructions with attached 'unpredictable' metadata on IR level.
   bool Unpredictable : 1;


        


More information about the llvm-commits mailing list