[all-commits] [llvm/llvm-project] caafdf: [LV] Weaken spuriously strong assert in LoopVersio...
Philip Reames via All-commits
all-commits at lists.llvm.org
Tue Jan 12 12:57:36 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: caafdf07bbccbe89219539e2b56043c2a98358f1
https://github.com/llvm/llvm-project/commit/caafdf07bbccbe89219539e2b56043c2a98358f1
Author: Philip Reames <listmail at philipreames.com>
Date: 2021-01-12 (Tue, 12 Jan 2021)
Changed paths:
M llvm/lib/Transforms/Utils/LoopVersioning.cpp
Log Message:
-----------
[LV] Weaken spuriously strong assert in LoopVersioning
LoopVectorize uses some utilities on LoopVersioning, but doesn't actually use it for, you know, versioning. As a result, the precondition LoopVersioning expects is too strong for this user. At the moment, LoopVectorize supports any loop with a unique exit block, so check the same precondition here.
Really, the whole class structure here is a mess. We should separate the actual versioning from the metadata updates, but that's a bigger problem.
More information about the All-commits
mailing list