radv/ac: copy llvm machine feature flags from radeonsi.
authorDave Airlie <airlied@redhat.com>
Sun, 23 Apr 2017 19:21:29 +0000 (20:21 +0100)
committerDave Airlie <airlied@redhat.com>
Mon, 24 Apr 2017 04:55:44 +0000 (05:55 +0100)
This just updates this to use the same flags as radeonsi
for consistency.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/common/ac_llvm_util.c

index 3687e98c85f4543911a8ab751e657870b508ddec..e2d5de24ad789d02251b30300f0dfb4b9191f8c7 100644 (file)
@@ -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);