diff --git a/IGC/Compiler/tests/GASRetValuePropagator/simple_plus_dwarf_change.ll b/IGC/Compiler/tests/GASRetValuePropagator/simple_plus_dwarf_change.ll index ba598ed3ec24..75f8ff436822 100644 --- a/IGC/Compiler/tests/GASRetValuePropagator/simple_plus_dwarf_change.ll +++ b/IGC/Compiler/tests/GASRetValuePropagator/simple_plus_dwarf_change.ll @@ -6,6 +6,8 @@ ; ;============================ end_copyright_notice ============================= +; UNSUPPORTED: khronos-translator + ; This test checks if DWARF attributes are updated correctly after changing address space from generic to SLM ; RUN: igc_opt %s -S -o - -igc-gas-ret-value-propagator | FileCheck %s diff --git a/IGC/Compiler/tests/ReduceOptPass/reduce_opt.ll b/IGC/Compiler/tests/ReduceOptPass/reduce_opt.ll index aa57ef032829..7d00b16483c8 100755 --- a/IGC/Compiler/tests/ReduceOptPass/reduce_opt.ll +++ b/IGC/Compiler/tests/ReduceOptPass/reduce_opt.ll @@ -7,6 +7,7 @@ ;============================ end_copyright_notice ============================= ; RUN: igc_opt %s -S -o - -opt-reduce-pass | FileCheck %s +; UNSUPPORTED: khronos-translator declare spir_func <3 x i64> @__builtin_spirv_BuiltInGlobalSize() declare spir_func <3 x i64> @__builtin_spirv_BuiltInGlobalOffset() diff --git a/IGC/Compiler/tests/lit.cfg.py b/IGC/Compiler/tests/lit.cfg.py index fcff095ca60a..36d4880683ef 100644 --- a/IGC/Compiler/tests/lit.cfg.py +++ b/IGC/Compiler/tests/lit.cfg.py @@ -66,8 +66,10 @@ if config.use_khronos_spirv_translator_in_sc == "1": config.substitutions.append(('%SPV_CHECK_PREFIX%', 'CHECK-KHR')) + config.available_features.add('khronos-translator') else: config.substitutions.append(('%SPV_CHECK_PREFIX%', 'CHECK-LEGACY')) + config.available_features.add('legacy-translator') if not config.regkeys_disabled: config.available_features.add('regkeys')