From a17dac453737d50ea8a972929dedabe5ac45caa0 Mon Sep 17 00:00:00 2001
From: foreman
Date: Tue, 15 Jul 2014 15:00:01 -0400
Subject: [PATCH] P4 to Git Change 1055410 by emankov@em-hsa-amd on 2014/07/15
14:22:48
ECR #333753 - Compiler Lib: -print-compile-phases option is added
Testing: smoke, smoke_clang, pre check-in
Reviewers: Brian Sumner, Leonid Lobachev
Affected files ...
... //depot/stg/opencl/drivers/opencl/compiler/lib/backends/common/v0_8/if_acl.cpp#37 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/OPTIONS.def#110 edit
[ROCm/clr commit: b555ae7f64598b8dc1b828e97cc07094a3974fee]
---
projects/clr/rocclr/compiler/lib/utils/OPTIONS.def | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/projects/clr/rocclr/compiler/lib/utils/OPTIONS.def b/projects/clr/rocclr/compiler/lib/utils/OPTIONS.def
index bc8a61b72a..36166481e1 100644
--- a/projects/clr/rocclr/compiler/lib/utils/OPTIONS.def
+++ b/projects/clr/rocclr/compiler/lib/utils/OPTIONS.def
@@ -989,6 +989,14 @@ OPTION(OT_BOOL, \
false, 0, 0, NULL, \
"Enable timing for Kernel build.")
+// -print-compile-phases
+OPTION(OT_BOOL, \
+ OA_RUNTIME|OVIS_SUPPORT|OVA_DISALLOWED, \
+ "print-compile-phases", NULL, \
+ PrintCompilePhases, \
+ false, 0, 0, NULL, \
+ "Print compile phases info.")
+
// -fforce-llvm, -fno-force-llvm
OPTION(OT_BOOL, \
OA_RUNTIME|OVIS_SUPPORT|OVA_DISALLOWED|OFA_PREFIX_F, \