[llvm] [LV][NFC] Introduce LoopVectorizationUtils for shared utility functions (PR #194951)
Hassnaa Hamdi via llvm-commits
llvm-commits at lists.llvm.org
Thu May 28 03:07:45 PDT 2026
================
@@ -1618,9 +1621,10 @@ bool LoopVectorizationLegality::canVectorizeLoopCFG(Loop *Lp,
// We must have a loop in canonical form. Loops with indirectbr in them cannot
// be canonicalized.
if (!Lp->getLoopPreheader()) {
- reportVectorizationFailure("Loop doesn't have a legal pre-header",
- "loop control flow is not understood by vectorizer",
- "CFGNotUnderstood", ORE, TheLoop);
+ reportVectorizationFailure(
+ "Loop doesn't have a legal pre-header",
+ "loop control flow is not understood by vectorizer", "CFGNotUnderstood",
+ ORE, TheLoop);
----------------
hassnaaHamdi wrote:
Yeah, I tried that but the format test failed because it considers the file got touched.
https://github.com/llvm/llvm-project/pull/194951
More information about the llvm-commits
mailing list