[PATCH] D76154: [AMDGPU] Fix endcf collapse

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 13 13:29:25 PDT 2020


rampitec created this revision.
rampitec added reviewers: arsenm, sameerds, AlexVlx.
Herald added subscribers: kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, jvesely, kzhuravl.

Only collapse inner endcf if the outer one belongs to SI_IF.
If it does belong to SI_ELSE then mask being restored in fact
a partial inverse of what we need.


https://reviews.llvm.org/D76154

Files:
  llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp
  llvm/test/CodeGen/AMDGPU/collapse-endcf.ll
  llvm/test/CodeGen/AMDGPU/collapse-endcf.mir
  llvm/test/CodeGen/AMDGPU/mul24-pass-ordering.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76154.250286.patch
Type: text/x-patch
Size: 10201 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200313/b69bffa4/attachment.bin>


More information about the llvm-commits mailing list