mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-24 02:56:06 +00:00

After patch 5ce47a5, some assert crashes occur in Polly. This issue arises because an instruction from one function queries the Dominator Tree (DT) of another function. To fix this, the `isHoistableLoad` function now skips instructions that belong to different function while iterating.