P4 to Git Change 1183975 by marsenau@marsenau_home on 2015/08/24 15:19:19

EPR #425389 - Back out changelist 1181925

	Although the compiler library sources are split, the build does not yet use this, so the wrong default value is being used for AMDIL vs. HSAIL

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/OPTIONS.def#130 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/include/llvm/AMDLLVMContextHook.h#28 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/include/llvm/Transforms/IPO/AMDOptOptions.h#8 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/IPO/AMDOptOptions.cpp#10 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/lib/Transforms/IPO/AMDPassManagerBuilder.cpp#56 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm/tools/opt/amdopt.inc#26 edit
This commit is contained in:
foreman
2015-08-24 15:37:10 -04:00
parent cc13b9f1f6
commit adedfc7a66
+2 -2
View File
@@ -565,7 +565,7 @@ OPTION(OT_UINT32, \
OA_RUNTIME|OVIS_SUPPORT|OVA_REQUIRED|OA_SEPARATOR_EQUAL, \
"unroll-threshold", NULL, \
LUThreshold, \
800, 0, 0x3FFFFFFF, NULL, \
150, 0, 0x3FFFFFFF, NULL, \
"Set loop unroll threshold to <number> for all loops")
// -unroll-allow-partial : allow partial unroll
@@ -573,7 +573,7 @@ OPTION(OT_BOOL, \
OA_RUNTIME|OVIS_SUPPORT|OVA_DISALLOWED, \
"unroll-allow-partial", NULL, \
LUAllowPartial, \
false, 0, 0, NULL, \
true, 0, 0, NULL, \
"Allow unrolling loops partially")
// -licm=0|1 (deafault is 1)