mesa/src/amd
Rhys Perry d282a292ec aco: don't always add logical edges from continue_break blocks to headers
Otherwise, code like this will be broken:
loop {
   if (...) {
      break;
   } else {
      break;
   }
}
The continue_or_break block doesn't have any logical predecessors but it's
a logical predecessor of the header block. This liveness error breaks the
spiller in init_live_in_vars() (under "keep variables spilled on all
incoming paths") and eventually creates garbage reloads.

Fixes: 93c8ebfa ('aco: Initial commit of independent AMD compiler')
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3257>
2020-01-29 18:02:27 +00:00
..
addrlib amd: fix empty-body issues 2019-12-27 22:09:00 +00:00
common ac/llvm: implement VK_AMD_shader_explicit_vertex_parameter 2020-01-29 09:49:50 +00:00
compiler aco: don't always add logical edges from continue_break blocks to headers 2020-01-29 18:02:27 +00:00
llvm ac/llvm: implement VK_AMD_shader_explicit_vertex_parameter 2020-01-29 09:49:50 +00:00
registers ac: declare an enum for the OOB select field on GFX10 2019-12-19 15:15:32 +01:00
vulkan radv/gfx10: re-enable NGG GS 2020-01-29 17:40:51 +01:00
Android.addrlib.mk android: amd/addrlib: add gfx10 support 2019-07-10 09:03:55 +02:00
Android.common.mk android: amd/common: export amd/llvm headers 2019-10-14 10:46:45 +02:00
Android.compiler.mk android: aco: add support for libmesa_aco 2019-09-28 15:56:34 +02:00
Android.mk android: aco: add support for libmesa_aco 2019-09-28 15:56:34 +02:00
Makefile.sources android: radeonsi,ac: fix building error due to ac changes 2019-12-27 09:20:49 +01:00
meson.build amd: Move all amd/common code that depends on LLVM to amd/llvm. 2019-10-08 00:44:08 +00:00