Skip to content

Commit

Permalink
Switch IGC SPIRV translator to upstream Khronos's SPIRV translator o…
Browse files Browse the repository at this point in the history
…n linux.

Switch IGC SPIRV translator to upstream Khronos's SPIRV translator on linux.
  • Loading branch information
mateuszchudyk authored and igcbot committed Aug 30, 2023
1 parent 456d960 commit 5718697
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions IGC/Compiler/tests/ReduceOptPass/reduce_opt.ll
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 2 additions & 0 deletions IGC/Compiler/tests/lit.cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')

0 comments on commit 5718697

Please sign in to comment.