From d853eb5ebbe956c119f0fcad14c4cfee54e6663b Mon Sep 17 00:00:00 2001
From: foreman
Date: Wed, 8 Oct 2014 13:56:22 -0400
Subject: [PATCH] P4 to Git Change 1085454 by yaxunl@yaxunl_stg_win50 on
2014/10/08 13:47:11
EPR #407056, #407061, #406980 - Back out changelist 1083545 since it causes a bunch of perf degradations. Will add a heurstics for -scras=2 for memory bound kernels only.
Affected files ...
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/OPTIONS.def#118 edit
---
rocclr/compiler/lib/utils/OPTIONS.def | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/rocclr/compiler/lib/utils/OPTIONS.def b/rocclr/compiler/lib/utils/OPTIONS.def
index 5026355dc3..83d0fd0bde 100644
--- a/rocclr/compiler/lib/utils/OPTIONS.def
+++ b/rocclr/compiler/lib/utils/OPTIONS.def
@@ -755,9 +755,9 @@ OPTION(OT_UINT32, \
OA_RUNTIME|OVIS_SUPPORT|OVA_REQUIRED|OA_SEPARATOR_EQUAL, \
"scras", "sc-si-opt-reg-alloc-strategy", \
SCSIOptRegAllocStrategy, \
- 2, 0, 3, NULL, \
- "Set SI+ shader compiler register allocation strategy 0-SC default, "
- "1-balanced, 2-minimize GPRs, 3-minimize moves (default 2).")
+ 0, 0, 3, NULL, \
+ "Set SI+ shader compiler register allocation strategy 0-default, "
+ "1-balanced, 2-minimize GPRs, 3-minimize moves (default 0).")
// -fuser-no-inline -fno-user-no-inline
OPTION(OT_BOOL, \