[PATCH] D148661: [SCEV] Common code for computing trip count in a fixed type [NFC-ish]

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 18 21:11:29 PDT 2023


craig.topper added inline comments.


================
Comment at: llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp:994
+  const SCEV *TripCountSCEV =
+    SE->getTripCountFromExitCount(BECount, IntPtr, CurLoop);
   return SE->getMulExpr(TripCountSCEV,
----------------
caojoshua wrote:
> craig.topper wrote:
> > Isn't clang-format for line wrap 4 spaces of indention?
> I think 2 spaces is correct. If I run 
> 
> ```
> clang-format -style=llvm -dump-config > .clang-format
> ```
> 
> I see `IndentWidth: 2` and `UseTab: Never`
The value I'm thinking of might be `ContinuationIndentWidth = 4; `


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D148661/new/

https://reviews.llvm.org/D148661



More information about the llvm-commits mailing list