[Mesa-dev] [PATCH 1/1] gallivm: Fix build since llvm r233411
Tom Stellard
tom at stellard.net
Fri Mar 27 15:52:58 PDT 2015
On Fri, Mar 27, 2015 at 06:46:43PM -0400, Jan Vesely wrote:
> Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
Reviewed-by: Tom Stellard <thomas.stellard at amd.com>
> ---
> src/gallium/auxiliary/gallivm/lp_bld_debug.cpp | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
> index bf6268b..d4d453d 100644
> --- a/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
> +++ b/src/gallium/auxiliary/gallivm/lp_bld_debug.cpp
> @@ -322,7 +322,11 @@ disassemble(const void* func, llvm::raw_ostream & Out)
> /*
> * Print the instruction.
> */
> +#if HAVE_LLVM >= 0x0307
> + Printer->printInst(&Inst, Out, "", *STI);
> +#else
> Printer->printInst(&Inst, Out, "");
> +#endif
>
> /*
> * Advance.
> --
> 2.1.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list