[all-commits] [llvm/llvm-project] 42b4dc: [Polly] Use GenDT in assertion (#186164)
Michael Kruse via All-commits
all-commits at lists.llvm.org
Thu Mar 12 09:36:42 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 42b4dce07c41fe8dfa0ac900583d06852d39af39
https://github.com/llvm/llvm-project/commit/42b4dce07c41fe8dfa0ac900583d06852d39af39
Author: Michael Kruse <llvm-project at meinersbur.de>
Date: 2026-03-12 (Thu, 12 Mar 2026)
Changed paths:
M polly/lib/CodeGen/BlockGenerators.cpp
A polly/test/CodeGen/OpenMP/issue185313.ll
Log Message:
-----------
[Polly] Use GenDT in assertion (#186164)
`DT` is always the analysis for the to-be-optimized function while
`GenDT` is the analysis of the function that we currently generate code
for, which can also be an outlined function. Here, we want to check
dominance in the generated code, hence we must use `GenDT`.
#179433 already fixed the same issue for `BlockGenerator`. The same
pattern is used in `RegionGenerator` which is fixed here. A good
argument to avoid code duplication.
Fixes: #185313
Thanks to @jaschiu for the bug report and reproducer
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list