diff options
author | Mel Chen <mel.chen@sifive.com> | 2025-03-13 06:29:05 -0700 |
---|---|---|
committer | Mel Chen <mel.chen@sifive.com> | 2025-03-13 07:16:04 -0700 |
commit | 5d5e706691c6d811820598a73694d3430c1d11b0 (patch) | |
tree | dd3d3cfa562d314fef62a07751e054c634e9a619 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | ffe202ca0053cbdc27a90cc4fd652c6bab6bca38 (diff) | |
download | llvm-5d5e706691c6d811820598a73694d3430c1d11b0.zip llvm-5d5e706691c6d811820598a73694d3430c1d11b0.tar.gz llvm-5d5e706691c6d811820598a73694d3430c1d11b0.tar.bz2 |
[VPlan] Restrict hoisting of broadcast operations using VPDominatorTree (#117138)
This patch restricts broadcast operations from being hoisted to the vector
preheader unless the basic block that defines the broadcasted value properly
dominates the vector preheader.
This prevents potential use-before-definition issues when the broadcasted
value is defined within the plan. VPDominatorTree is used to confirm this
restriction while still allowing safe hoisting for broadcasted values defined
outside the plan.
Issue https://github.com/llvm/llvm-project/issues/117139
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions