[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
================
@@ -2082,14 +2074,12 @@ MemoryDepChecker::Dependence::DepType MemoryDepChecker::isDependent(
// Negative distances are not plausible dependencies.
if (SE.isKnownNonPositive(Dist)) {
if (SE.isKnownNonNegative(Dist)) {
- if (HasSameSize) {
+ if (HasSameSize)
----------------
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