<div dir="ltr"><div>Reviewed-by: Marek Olšák <<a href="mailto:marek.olsak@amd.com">marek.olsak@amd.com</a>></div><div><br></div><div>Marek<br></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Nov 1, 2018 at 2:52 PM Jan Vesely <<a href="mailto:jan.vesely@rutgers.edu">jan.vesely@rutgers.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The option was removed in LLVM r345763<br>
Signed-off-by: Jan Vesely <<a href="mailto:jan.vesely@rutgers.edu" target="_blank">jan.vesely@rutgers.edu</a>><br>
---<br>
 src/amd/common/ac_llvm_util.c | 3 ++-<br>
 1 file changed, 2 insertions(+), 1 deletion(-)<br>
<br>
diff --git a/src/amd/common/ac_llvm_util.c b/src/amd/common/ac_llvm_util.c<br>
index 69d9f7b9f3..dc9b684e9d 100644<br>
--- a/src/amd/common/ac_llvm_util.c<br>
+++ b/src/amd/common/ac_llvm_util.c<br>
@@ -153,7 +153,8 @@ static LLVMTargetMachineRef ac_create_target_machine(enum radeon_family family,<br>
        LLVMTargetRef target = ac_get_llvm_target(triple);<br>
<br>
        snprintf(features, sizeof(features),<br>
-                "+DumpCode,+vgpr-spilling,-fp32-denormals,+fp64-denormals%s%s%s%s",<br>
+                "+DumpCode,-fp32-denormals,+fp64-denormals%s%s%s%s%s",<br>
+                HAVE_LLVM >= 0x0800 ? "" : ",+vgpr-spilling",<br>
                 tm_options & AC_TM_SISCHED ? ",+si-scheduler" : "",<br>
                 tm_options & AC_TM_FORCE_ENABLE_XNACK ? ",+xnack" : "",<br>
                 tm_options & AC_TM_FORCE_DISABLE_XNACK ? ",-xnack" : "",<br>
-- <br>
2.19.1<br>
<br>
_______________________________________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org" target="_blank">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/mesa-dev</a><br>
</blockquote></div>