P4 to Git Change 1452486 by skudchad@skudchad_test_win_opencl2 on 2017/08/28 20:01:08
SWDEV-116136 - Support -Og for Clang
- Fix assert for -cl-disable-opt
Affected files ...
... //depot/stg/opencl/drivers/opencl/compiler/legacy-lib/utils/options.cpp#7 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/options.cpp#44 edit
[ROCm/clr commit: c6a3aed5f8]
Este cometimento está contido em:
@@ -157,7 +157,7 @@ setAliasOptionVariable (int OptDescTableIx, Options& Opts,
|
||||
od = &OptDescTable[OID_OptLevel];
|
||||
assert ((IValue > 0) &&
|
||||
"Internal Error: -cl-opt-disable is present, but with wrong value");
|
||||
if (!setOptionVariable (od, oVars, (int64_t)0, NULL)) {
|
||||
if (!setOptionVariable (od, oVars, (int64_t)amd::option::OPT_O0, NULL)) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
||||
Criar uma nova questão referindo esta
Bloquear um utilizador