From 293853b84fc56f336bbbceaa4be4fc92b9236f01 Mon Sep 17 00:00:00 2001
From: foreman
Date: Mon, 27 Oct 2014 18:06:52 -0400
Subject: [PATCH] P4 to Git Change 1091316 by yaxunl@yaxunl_stg_win50 on
2014/10/27 17:49:43
ECR #377625 - Function support: reduce number of private memory access by increasing argument promotion limit.
Affected files ...
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/OPTIONS.def#119 edit
[ROCm/clr commit: c4abe32135dc0d9b939b955c0d09f69f04bc0818]
---
projects/clr/rocclr/compiler/lib/utils/OPTIONS.def | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/projects/clr/rocclr/compiler/lib/utils/OPTIONS.def b/projects/clr/rocclr/compiler/lib/utils/OPTIONS.def
index 83d0fd0bde..eff4cd7625 100644
--- a/projects/clr/rocclr/compiler/lib/utils/OPTIONS.def
+++ b/projects/clr/rocclr/compiler/lib/utils/OPTIONS.def
@@ -547,7 +547,7 @@ OPTION(OT_UINT32, \
OA_RUNTIME|OVIS_SUPPORT|OVA_REQUIRED|OA_SEPARATOR_EQUAL, \
"apt", "ap-threshold", \
APThreshold, \
- 3, 0, 0x3FFFFFFF, NULL, \
+ 1024, 0, 0x3FFFFFFF, NULL, \
"Set argument promotion threshold to ")
// -unroll-count= : loop unroll count