[PATCH] D45372: [AMDGPU] Fix issues for backend divergence tracking

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 9 18:23:58 PDT 2018


arsenm added inline comments.


================
Comment at: test/CodeGen/AMDGPU/diverge-multi-func.ll:9
+; GCN-LABEL: {{^}}_amdgpu_ps_main:
+define dllexport amdgpu_ps void @_amdgpu_ps_main(i32 inreg %arg, <2 x float> %arg1) local_unnamed_addr #0 {
+.entry:
----------------
dstuttard wrote:
> arsenm wrote:
> > Missing check?
> No - this function is here purely to provoke the bug in the geometry shader, so it doesn't need a check as we don't actually care what is emitted.
How does this change an unrelated function?


Repository:
  rL LLVM

https://reviews.llvm.org/D45372





More information about the llvm-commits mailing list