[llvm] LV/Legality: fix issues after cursory reading (NFC) (PR #100363)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 24 06:03:08 PDT 2024
================
@@ -1154,8 +1145,7 @@ bool LoopVectorizationLegality::canVectorizeMemory() {
}
}
- PSE.addPredicate(LAI->getPSE().getPredicate());
- return true;
+ return PSE.addPredicate(LAI->getPSE().getPredicate()), true;
----------------
nikic wrote:
IMHO this was much clearer before. Let's please not use comma expressions...
https://github.com/llvm/llvm-project/pull/100363
More information about the llvm-commits
mailing list