b8813e7408
ECR #333753 - HSA HLC/Compiler Lib: Fix which restores global option HLC_Disable_Amd_Inline_All to false after switching stack HSAIL -> AMDIL on RT.
Also it fixes ocl 20 conformance basic subtests (readimage, writeimage) failed on enabling calls (-hsail-enable-calls), where such switching takes place.
Testing: smoke, precheck-in
Reviewer: Daniil Fukalov
Affected files ...
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/opt_level.cpp#22 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/IPO/AMDPassManagerBuilder.cpp#49 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/tools/opt/amdopt.inc#22 edit
[ROCm/clr commit: d09c098f87]