summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_parse.c
diff options
context:
space:
mode:
authorMatthew Dawson <[email protected]>2016-02-16 01:25:20 -0500
committerMichel Dänzer <[email protected]>2016-02-16 16:18:35 +0900
commit0bba5ca468cdcd1f6f9bb6736c8a75e43fbe0cd5 (patch)
treea1da492acf2f1193185493189a04d16668676e08 /src/gallium/auxiliary/tgsi/tgsi_parse.c
parent7287cc844057e2242592df40409e31780f090ece (diff)
Handle removal of LLVMAddTargetData in SVN revision 260919
LLVM removed LLVMAddTargetData for the 3.9 release in r260919. For the two places in mesa where this is called, only enable the lines when compiling for less then 3.9. For the radeon driver, I'm not sure how to check if any other LLVM calls need to be adjusted. I think since the target data used is extracted from the LLVMModule, it isn't necessary to pass it back to LLVM again. The code does compile, and at least for radeonsi does run OpenGL games. [ Michel Dänzer: Move #if closer to LLVMAddTargetData in lp_bld_init.c, and add HAVE_LLVM < 0x0309 guards around now unused occurrences of TD and data_layout ] Signed-off-by: Matthew Dawson <[email protected]> Reviewed-and-Tested-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_parse.c')
0 files changed, 0 insertions, 0 deletions