[NFC] add more comments for SLSR
authorJingyue Wu <jingyue@google.com>
Thu, 9 Apr 2015 17:04:28 +0000 (17:04 +0000)
committerJingyue Wu <jingyue@google.com>
Thu, 9 Apr 2015 17:04:28 +0000 (17:04 +0000)
llvm-svn: 234505

llvm/include/llvm/Transforms/Scalar.h

index f59b062..fe7eaa7 100644 (file)
@@ -427,6 +427,11 @@ createSeparateConstOffsetFromGEPPass(const TargetMachine *TM = nullptr,
 //
 BasicBlockPass *createLoadCombinePass();
 
+//===----------------------------------------------------------------------===//
+//
+// StraightLineStrengthReduce - This pass strength-reduces some certain
+// instruction patterns in straight-line code.
+//
 FunctionPass *createStraightLineStrengthReducePass();
 
 //===----------------------------------------------------------------------===//