The branch target needs to be changed depending on whether there is an
unconditional branch or not.
Loops also need to be similarly fixed, but compiling a simple testcase
end to end requires another set of patches that aren't upstream yet.
Paths
| Differential D72243
AMDGPU/GlobalISel: Fix branch targets when emitting SI_IF ClosedPublic Authored by arsenm on Jan 5 2020, 7:39 PM.
Details
Diff Detail
Revision Contents
Diff 236291 llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
llvm/test/CodeGen/AMDGPU/GlobalISel/divergent-control-flow.ll
|