1. Nov 14, 2016
    • Matt Arsenault's avatar
      AMDGPU: Implement SGPR spilling with scalar stores · dc45274d
      Matt Arsenault authored
      nThis avoids the nasty problems caused by using
      memory instructions that read the exec mask while
      spilling / restoring registers used for control flow
      masking, but only for VI when these were added.
      
      This always uses the scalar stores when enabled currently,
      but it may be better to still try to spill to a VGPR
      and use this on the fallback memory path.
      
      The cache also needs to be flushed before wave termination
      if a scalar store is used.
      
      llvm-svn: 286766
      dc45274d
  2. Nov 13, 2016