Skip to content

ir3/a7xx: Add post-RA pass to track liveness and insert (last)

Mark Collins requested to merge PixelyIon/mesa:a7xx-last into main

Introduces a backwards dataflow analysis pass to determine when a certain register is always written to prior to being read in a similar manner to SSA liveness but performed after RA which we can use to determine when we can insert (last) on src regs on A7XX.

Observations:

  • Conformance: These changes pass all mustpass VK-CTS tests under dEQP-VK.pipeline.*
  • Performance: There was next to no difference in the performance of 3DMark Wild Life (Normal/Extreme), it's possible that any performance advantage provided by this is being entirely overshadowed by the costs of sysmem rendering.
Edited by Mark Collins

Merge request reports