Re: [Mesa-dev] [PATCH] radeonsi: Add debug option to enable LLVM GlobalISel (v2)

2018-07-19 Thread Tom Stellard
On 07/19/2018 08:18 PM, Marek Olšák wrote: > From: Tom Stellard > > R600_DEBUG=gisel will tell LLVM to use GlobalISel rather than > SelectionDAG for instruction selection. > > v2: mareko: move the helper to src/amd/common > Thanks for picking this up. Reviewed-by: Tom Stellard > Signed-off-b

[Mesa-dev] [PATCH] radeonsi: Add debug option to enable LLVM GlobalISel (v2)

2018-07-19 Thread Marek Olšák
From: Tom Stellard R600_DEBUG=gisel will tell LLVM to use GlobalISel rather than SelectionDAG for instruction selection. v2: mareko: move the helper to src/amd/common Signed-off-by: Marek Olšák --- src/amd/common/ac_llvm_helper.cpp | 7 +++ src/amd/common/ac_llvm_util.c | 1

Re: [Mesa-dev] [PATCH] radeonsi: Add debug option to enable LLVM GlobalISel

2018-06-29 Thread Marek Olšák
Hi Tom, We shouldn't use gallivm if possible and instead c++ helpers should be added into ac_llvm_helper.cpp with the ac prefix. With that done: Reviewed-by: Marek Olšák Thanks, Marek On Tue, Jun 26, 2018 at 11:00 PM, Tom Stellard wrote: > R600_DEBUG=gisel will tell LLVM to use GlobalISel rat

[Mesa-dev] [PATCH] radeonsi: Add debug option to enable LLVM GlobalISel

2018-06-26 Thread Tom Stellard
R600_DEBUG=gisel will tell LLVM to use GlobalISel rather than SelectionDAG for instruction selection. --- src/amd/common/ac_llvm_util.c | 14 -- src/amd/common/ac_llvm_util.h | 1 + src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | 7 +++ src/gallium