[llvm] 9ddb625 - [NFC] Update renamed option in comments

Jinsong Ji via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 15 12:44:42 PDT 2021


Author: Jinsong Ji
Date: 2021-06-15T19:44:31Z
New Revision: 9ddb625890518d8ee079da896c9d28f21154a6d1

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

LOG: [NFC] Update renamed option in comments

c98ebda325c996b3a12f4fded0368734dc0fe28a Rename fp-op fusion option (yet
again) for compatibility with GCC option.

The comment in the header should be updated too to avoid confusion.

Added: 
    

Modified: 
    llvm/include/llvm/Target/TargetOptions.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/Target/TargetOptions.h b/llvm/include/llvm/Target/TargetOptions.h
index 5a9059626918..e5bea9041479 100644
--- a/llvm/include/llvm/Target/TargetOptions.h
+++ b/llvm/include/llvm/Target/TargetOptions.h
@@ -336,7 +336,7 @@ namespace llvm {
     /// arm-apple-darwin). Hard presumes that the normal FP ABI is used.
     FloatABI::ABIType FloatABIType = FloatABI::Default;
 
-    /// AllowFPOpFusion - This flag is set by the -fuse-fp-ops=xxx option.
+    /// AllowFPOpFusion - This flag is set by the -fp-contract=xxx option.
     /// This controls the creation of fused FP ops that store intermediate
     /// results in higher precision than IEEE allows (E.g. FMAs).
     ///


        


More information about the llvm-commits mailing list