36fb8d67648d2eec38e0cc1fe1e421812142707a
SWDEV-80173 - HSA HLC: disable liveness analysis and jump threading After the investigation I have found liveness analysis never changed code generation in any of the benchmarks or applications. Its only use is in the LICM and the hoisting limitation was never really triggered. Since the analysis is very expensive I'm disabling it. The jump threading is generally bad on the GPU because it creates unstructured control flow. Even if hsail might become smaller and have less branches, it does not help because finalzier's structurizer will have to clone blocks. Jump threading is disabled for GPU. This improves compilation speed and just slightly improves performance. Testing: smoke, precheckin, vray and blender compilation Reviewed by Daniil Fukalov Affected files ... ... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/OPTIONS.def#133 edit ... //depot/stg/opencl/drivers/opencl/compiler/llvm/include/llvm/AMDLLVMContextHook.h#29 edit ... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Analysis/AMDLiveAnalysis.cpp#32 edit ... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/IPO/AMDPassManagerBuilder.cpp#61 edit ... //depot/stg/opencl/drivers/opencl/compiler/llvm/tools/opt/amdopt.inc#29 edit
Description
Aucune description fournie
Langue
C++
67.5%
C
20.6%
Python
6.6%
CMake
3.4%
Shell
0.6%
Autre
1.1%