diff options
Diffstat (limited to 'lib/mesa/src')
-rw-r--r-- | lib/mesa/src/amd/llvm/ac_llvm_util.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/mesa/src/amd/llvm/ac_llvm_util.c b/lib/mesa/src/amd/llvm/ac_llvm_util.c index 968410199..903b0d175 100644 --- a/lib/mesa/src/amd/llvm/ac_llvm_util.c +++ b/lib/mesa/src/amd/llvm/ac_llvm_util.c @@ -70,10 +70,6 @@ static void ac_init_llvm_target() /* Atomic optimizations require LLVM 10.0 for gfx10 support. */ "-amdgpu-atomic-optimizations=true", #endif -#if LLVM_VERSION_MAJOR >= 11 - /* This was disabled by default in: https://reviews.llvm.org/D77228 */ - "-structurizecfg-skip-uniform-regions", -#endif }; LLVMParseCommandLineOptions(ARRAY_SIZE(argv), argv, NULL); } @@ -173,10 +169,11 @@ static LLVMTargetMachineRef ac_create_target_machine(enum radeon_family family, LLVMTargetRef target = ac_get_llvm_target(triple); snprintf(features, sizeof(features), - "+DumpCode%s%s%s%s%s%s", + "+DumpCode%s%s%s%s%s%s%s", LLVM_VERSION_MAJOR >= 11 ? "" : ",-fp32-denormals,+fp64-denormals", family >= CHIP_NAVI10 && !(tm_options & AC_TM_WAVE32) ? ",+wavefrontsize64,-wavefrontsize32" : "", + tm_options & AC_TM_SISCHED ? ",+si-scheduler" : "", tm_options & AC_TM_FORCE_ENABLE_XNACK ? ",+xnack" : "", tm_options & AC_TM_FORCE_DISABLE_XNACK ? ",-xnack" : "", tm_options & AC_TM_PROMOTE_ALLOCA_TO_SCRATCH ? ",-promote-alloca" : "", |