aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/Local.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2023-02-19 18:01:15 +0000
committerFlorian Hahn <flo@fhahn.com>2023-02-19 18:01:16 +0000
commit7737c0569660f2ea8edce8d3ea7276602b3a8552 (patch)
tree5d791c32eda9b797d209e9194e61dfd45648f428 /llvm/lib/Transforms/Utils/Local.cpp
parent723cd2e953d245ca9d6df6c4f3852d3ebbe0b253 (diff)
downloadllvm-7737c0569660f2ea8edce8d3ea7276602b3a8552.zip
llvm-7737c0569660f2ea8edce8d3ea7276602b3a8552.tar.gz
llvm-7737c0569660f2ea8edce8d3ea7276602b3a8552.tar.bz2
[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.
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions