a46f607eb0fa11bc3da9ef510dff8b96500df2ff
SWDEV-97737 - Complib: fix unrolling preferences on the online path The TargetTransformInfo needs to be added to pass manager before other passes now. Otherwise the first pass which requires this analysis will create a default TTI on initialization and when real HSAILTTIImpl will be added to PM, PM->add() will silently delete this new analysis pass on the basis that a pass with such ID already exists in the pass manager. That is in fact concern for all analysis passes. Testing: smoke, precheckin, LDSReadSpeed Reviewed by Daniil Fukalov Affected files ... ... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/opt_level.cpp#32 edit ... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/opt_level.hpp#6 edit
Описание
No description provided
Languages
C++
67.5%
C
20.6%
Python
6.6%
CMake
3.4%
Shell
0.6%
Разное
1.1%