[PATCH] D72243: AMDGPU/GlobalISel: Fix branch targets when emitting SI_IF

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 5 19:40:34 PST 2020


arsenm created this revision.
arsenm added reviewers: tstellar, nhaehnle, kerbowa.
Herald added subscribers: Petar.Avramovic, hiraditya, t-tye, tpr, dstuttard, rovka, yaxunl, wdng, jvesely, kzhuravl.
Herald added a project: LLVM.

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.


https://reviews.llvm.org/D72243

Files:
  llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
  llvm/test/CodeGen/AMDGPU/GlobalISel/divergent-control-flow.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72243.236291.patch
Type: text/x-patch
Size: 5525 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200106/78a327f3/attachment.bin>


More information about the llvm-commits mailing list