[PATCH] D35967: [AMDGPU] Collapse adjacent SI_END_CF

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 1 17:33:43 PDT 2017


rampitec added inline comments.


================
Comment at: llvm/trunk/test/CodeGen/AMDGPU/collapse-endcf.ll:150
+; GCN-NEXT: {{^}}[[ENDIF_OUTER]]:
+; GCN-NEXT: s_or_b64 exec, exec, [[SAVEEXEC_OUTER3]]
+; GCN-NEXT: s_endpgm
----------------
arsenm wrote:
> arsenm wrote:
> > We should also be stripping out exec modifications with no VALU instructions before s_endpgm
> Any scalar instruction really
Not a scalar store. Also not sure about barries and waits.


Repository:
  rL LLVM

https://reviews.llvm.org/D35967





More information about the llvm-commits mailing list