Files
rocm-systems/rocclr
foreman a46f607eb0 P4 to Git Change 1293547 by smekhano@stas-rampitec-hsa on 2016/07/20 11:43:35
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
2016-07-20 12:20:58 -04:00
..