radeon/llvm: show LLVM disassembly when available
authorJay Cornwall <jay@jcornwall.me>
Fri, 11 Oct 2013 01:06:48 +0000 (20:06 -0500)
committerTom Stellard <thomas.stellard@amd.com>
Sat, 12 Oct 2013 04:03:58 +0000 (00:03 -0400)
commitd7d539a1cb8dcf50cb7cd534e6ae7df3f42914c8
treeaf25fab3bed8553f9089060b4f3754aca01e316f
parent7681beedd19cf437252fbc1041b19328ad773ea5
radeon/llvm: show LLVM disassembly when available

With code dump enabled LLVM may generate disassembly during compilation.
Show this disassembly when available and prefer it to SI bytecode dump.

Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
Signed-off-by: Jay Cornwall <jay@jcornwall.me>
src/gallium/drivers/radeon/radeon_llvm_emit.c
src/gallium/drivers/radeon/radeon_llvm_emit.h
src/gallium/drivers/radeonsi/radeonsi_shader.c