diff options
author | Dave Airlie <[email protected]> | 2017-07-06 03:06:01 +0100 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2017-07-06 23:07:49 +0100 |
commit | 09d7c7be4f1750a24670f8e7f9c555d88e47708f (patch) | |
tree | 24979b664378be519fcf42407a9b0d87cc5bddf4 /src/amd/common/ac_llvm_util.c | |
parent | d97275e42c0750fa74ce17de4f985c73c54a1bf4 (diff) |
radv: enable sisched toggle in perftest flags.
RADV_PERFTEST=sisched
to enable it.
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/common/ac_llvm_util.c')
-rw-r--r-- | src/amd/common/ac_llvm_util.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/amd/common/ac_llvm_util.c b/src/amd/common/ac_llvm_util.c index 84ed73f164e..d14057fa768 100644 --- a/src/amd/common/ac_llvm_util.c +++ b/src/amd/common/ac_llvm_util.c @@ -126,8 +126,9 @@ LLVMTargetMachineRef ac_create_target_machine(enum radeon_family family, enum ac LLVMTargetRef target = ac_get_llvm_target(triple); snprintf(features, sizeof(features), - "+DumpCode,+vgpr-spilling,-fp32-denormals%s", - family >= CHIP_VEGA10 ? ",+xnack" : ",-xnack"); + "+DumpCode,+vgpr-spilling,-fp32-denormals%s%s", + family >= CHIP_VEGA10 ? ",+xnack" : ",-xnack", + tm_options & AC_TM_SISCHED ? ",+si-scheduler" : ""); LLVMTargetMachineRef tm = LLVMCreateTargetMachine( target, |