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
Этот коммит содержится в:
1 родитель
5903352ceb
Коммит
c6a3aed5f8
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user