[all-commits] [llvm/llvm-project] 7737c0: [VPlan] Make sure properlyDominates(A, A) returns ...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Sun Feb 19 10:01:51 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7737c0569660f2ea8edce8d3ea7276602b3a8552
https://github.com/llvm/llvm-project/commit/7737c0569660f2ea8edce8d3ea7276602b3a8552
Author: Florian Hahn <flo at fhahn.com>
Date: 2023-02-19 (Sun, 19 Feb 2023)
Changed paths:
M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
Log Message:
-----------
[VPlan] Make sure properlyDominates(A, A) returns false.
At the moment, properlyDominates(A, A) can return true via
LocalComesBefore. Add an early exit to ensure it returns false if
A == B.
Note: no test has been added because the existing test suite covers this
case already with libc++ with assertions enabled.
Fixes https://github.com/llvm/llvm-project/issues/60850.
More information about the All-commits
mailing list