gallivm: print declarations of intrinsics with GALLIVM_DEBUG=ir
authorRoland Scheidegger <sroland@vmware.com>
Tue, 10 May 2016 01:48:13 +0000 (03:48 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Tue, 10 May 2016 15:08:16 +0000 (17:08 +0200)
commite4cf8717de39a5344ae60dbed4ed8fddf9ebfee1
tree242c283fd83440c3c46f6b5fda6368d548fd08cf
parent5c200894c80b3e9ae3519ded9cc1b311e79c0e24
gallivm: print declarations of intrinsics with GALLIVM_DEBUG=ir

Those aren't really interesting, however outputting them is helpful when
trying to feed the IR to llvm llc (or opt) for debugging.

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/gallivm/lp_bld_intr.c