[Mesa-dev] [PATCH] radv/ac: copy llvm machine feature flags from radeonsi.

Dave Airlie airlied at gmail.com
Sun Apr 23 19:22:19 UTC 2017


From: Dave Airlie <airlied at redhat.com>

This just updates this to use the same flags as radeonsi
for consistency.

Signed-off-by: Dave Airlie <airlied at redhat.com>
---
 src/amd/common/ac_llvm_util.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/amd/common/ac_llvm_util.c b/src/amd/common/ac_llvm_util.c
index 3687e98..e2d5de2 100644
--- a/src/amd/common/ac_llvm_util.c
+++ b/src/amd/common/ac_llvm_util.c
@@ -131,7 +131,7 @@ LLVMTargetMachineRef ac_create_target_machine(enum radeon_family family, bool su
 	                             target,
 	                             triple,
 	                             ac_get_llvm_processor_name(family),
-	                             "+DumpCode,+vgpr-spilling",
+	                             "+DumpCode,+vgpr-spilling,-fp32-denormals,-xnack",
 	                             LLVMCodeGenLevelDefault,
 	                             LLVMRelocDefault,
 	                             LLVMCodeModelDefault);
-- 
2.7.4



More information about the mesa-dev mailing list