summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/gallivm/lp_bld_arit_overflow.c
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2013-07-01 20:54:19 +0100
committerJosé Fonseca <jfonseca@vmware.com>2013-07-02 06:30:06 +0100
commite621ec816da65a56c3ba038a85075000bf5882d2 (patch)
treea988d93b3b56a1d3a749d596e33d90e75b7c3fd6 /src/gallium/auxiliary/gallivm/lp_bld_arit_overflow.c
parent70bc43acdb487c7a38faab4f4aa864afe9cbfc84 (diff)
downloadexternal_mesa3d-e621ec816da65a56c3ba038a85075000bf5882d2.zip
external_mesa3d-e621ec816da65a56c3ba038a85075000bf5882d2.tar.gz
external_mesa3d-e621ec816da65a56c3ba038a85075000bf5882d2.tar.bz2
gallivm: Fix indirect immediate registers.
If reg->Register.Indirect is true then the immediate is not truly a constant LLVM expression. There is no performance regression in using LLVMBuildBitCast, as it will fallback to LLVMConstBitCast internally when the argument is a constant. Reviewed-by: Roland Scheidegger <sroland@vmware.com> Reviewed-by: Zack Rusin <zackr@vmware.com>
Diffstat (limited to 'src/gallium/auxiliary/gallivm/lp_bld_arit_overflow.c')
0 files changed, 0 insertions, 0 deletions