[llvm] [LAA] refactor program logic (NFC) (PR #92101)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Wed May 22 05:33:30 PDT 2024
================
@@ -3050,11 +3041,10 @@ LoopAccessInfo::LoopAccessInfo(Loop *L, ScalarEvolution *SE,
if (TTI) {
TypeSize FixedWidth =
TTI->getRegisterBitWidth(TargetTransformInfo::RGK_FixedWidthVector);
- if (FixedWidth.isNonZero()) {
+ if (FixedWidth.isNonZero())
----------------
fhahn wrote:
please retain braces here when the body is multiple lines (https://llvm.org/docs/CodingStandards.html#don-t-use-braces-on-simple-single-statement-bodies-of-if-else-loop-statements)
https://github.com/llvm/llvm-project/pull/92101
More information about the llvm-commits
mailing list