[llvm] 82d34fe - Fix typo "beneficiates" in comments

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 22 04:30:22 PDT 2021


Author: Jay Foad
Date: 2021-04-22T12:30:16+01:00
New Revision: 82d34fe2b38ac3ef266ceb2f886866c6d0c23a24

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

LOG: Fix typo "beneficiates" in comments

Added: 
    

Modified: 
    llvm/include/llvm/CodeGen/TargetLowering.h
    llvm/lib/Target/PowerPC/PPCISelLowering.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/CodeGen/TargetLowering.h b/llvm/include/llvm/CodeGen/TargetLowering.h
index aa05df948ab9..6e91201b8171 100644
--- a/llvm/include/llvm/CodeGen/TargetLowering.h
+++ b/llvm/include/llvm/CodeGen/TargetLowering.h
@@ -781,7 +781,7 @@ class TargetLoweringBase {
     return false;
   }
 
-  /// Return true if target always beneficiates from combining into FMA for a
+  /// Return true if target always benefits from combining into FMA for a
   /// given value type. This must typically return false on targets where FMA
   /// takes more cycles to execute than FADD.
   virtual bool enableAggressiveFMAFusion(EVT VT) const {

diff  --git a/llvm/lib/Target/PowerPC/PPCISelLowering.h b/llvm/lib/Target/PowerPC/PPCISelLowering.h
index 27553d747471..1ec78cb7bc15 100644
--- a/llvm/lib/Target/PowerPC/PPCISelLowering.h
+++ b/llvm/lib/Target/PowerPC/PPCISelLowering.h
@@ -746,7 +746,7 @@ namespace llvm {
     EVT getSetCCResultType(const DataLayout &DL, LLVMContext &Context,
                            EVT VT) const override;
 
-    /// Return true if target always beneficiates from combining into FMA for a
+    /// Return true if target always benefits from combining into FMA for a
     /// given value type. This must typically return false on targets where FMA
     /// takes more cycles to execute than FADD.
     bool enableAggressiveFMAFusion(EVT VT) const override;


        


More information about the llvm-commits mailing list