Fix typo "beneficiates" in comments
authorJay Foad <jay.foad@amd.com>
Thu, 22 Apr 2021 11:29:49 +0000 (12:29 +0100)
committerJay Foad <jay.foad@amd.com>
Thu, 22 Apr 2021 11:30:16 +0000 (12:30 +0100)
llvm/include/llvm/CodeGen/TargetLowering.h
llvm/lib/Target/PowerPC/PPCISelLowering.h

index aa05df9..6e91201 100644 (file)
@@ -781,7 +781,7 @@ public:
     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 {
index 27553d7..1ec78cb 100644 (file)
@@ -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;