aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorSteven Perron <stevenperron@google.com>2024-10-30 11:19:23 -0400
committerGitHub <noreply@github.com>2024-10-30 11:19:23 -0400
commitf405c683ba929fcd0bcaa435ca2fbe4bb221d04b (patch)
tree89d388abaa335d39b28baad85ebe5b521ddb4a8e /llvm/lib/CodeGen/MachineInstr.cpp
parent4015e18d6713cdceb0640e77b2d5aa3b256d5ddb (diff)
downloadllvm-f405c683ba929fcd0bcaa435ca2fbe4bb221d04b.zip
llvm-f405c683ba929fcd0bcaa435ca2fbe4bb221d04b.tar.gz
llvm-f405c683ba929fcd0bcaa435ca2fbe4bb221d04b.tar.bz2
[OPT] Search whole BB for convergence token. (#112728)
The spec for llvm.experimental.convergence.entry says that is must be in the entry block for a function, and must preceed any other convergent operation. It does not have to be the first instruction in the entry block. Inlining assumes that the call to llvm.experimental.convergence.entry will be the first instruction after any phi instructions. This commit modifies inlining to search the entire block for the call.
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions