[llvm] de759d6 - [TTI] TargetTransformInfo::getPointersChainCost - fix formatting. NFC.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 9 05:48:31 PST 2024


Author: Simon Pilgrim
Date: 2024-12-09T13:46:09Z
New Revision: de759d6c2700aad27bb242617dfaf0aaaf777c41

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

LOG: [TTI] TargetTransformInfo::getPointersChainCost - fix formatting. NFC.

Added: 
    

Modified: 
    llvm/include/llvm/Analysis/TargetTransformInfo.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/Analysis/TargetTransformInfo.h b/llvm/include/llvm/Analysis/TargetTransformInfo.h
index aa530b54c5c6d3..c4d5459d250924 100644
--- a/llvm/include/llvm/Analysis/TargetTransformInfo.h
+++ b/llvm/include/llvm/Analysis/TargetTransformInfo.h
@@ -335,12 +335,10 @@ class TargetTransformInfo {
   /// chain of loads or stores within same block) operations set when lowered.
   /// \p AccessTy is the type of the loads/stores that will ultimately use the
   /// \p Ptrs.
-  InstructionCost
-  getPointersChainCost(ArrayRef<const Value *> Ptrs, const Value *Base,
-                       const PointersChainInfo &Info, Type *AccessTy,
-                       TargetCostKind CostKind = TTI::TCK_RecipThroughput
-
-  ) const;
+  InstructionCost getPointersChainCost(
+      ArrayRef<const Value *> Ptrs, const Value *Base,
+      const PointersChainInfo &Info, Type *AccessTy,
+      TargetCostKind CostKind = TTI::TCK_RecipThroughput) const;
 
   /// \returns A value by which our inlining threshold should be multiplied.
   /// This is primarily used to bump up the inlining threshold wholesale on


        


More information about the llvm-commits mailing list