[PATCH] D133079: [NFC] Fix typo

zhuangqiubin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 31 18:24:58 PDT 2022


mark.zhuang created this revision.
Herald added a project: All.
mark.zhuang requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D133079

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


Index: llvm/include/llvm/Analysis/TargetTransformInfo.h
===================================================================
--- llvm/include/llvm/Analysis/TargetTransformInfo.h
+++ llvm/include/llvm/Analysis/TargetTransformInfo.h
@@ -602,7 +602,7 @@
                              unsigned AddrSpace = 0,
                              Instruction *I = nullptr) const;
 
-  /// Return true if LSR cost of C1 is lower than C1.
+  /// Return true if LSR cost of C1 is lower than C2.
   bool isLSRCostLess(const TargetTransformInfo::LSRCost &C1,
                      const TargetTransformInfo::LSRCost &C2) const;
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133079.457144.patch
Type: text/x-patch
Size: 612 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220901/54c20797/attachment-0001.bin>


More information about the llvm-commits mailing list