Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…nslator into amd-staging
  • Loading branch information
AlexVlx committed Oct 18, 2024
2 parents d049f7d + ee682a4 commit 9eefee2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
; REQUIRES: spirv-as

; RUN: cat %s > %t.spvasm
; RUN: amd-llvm-spirv %t.spvasm --to-binary -o %t.spv
; RUN: amd-llvm-spirv -r %t.spv -o - | llvm-dis | FileCheck %s
Expand Down
2 changes: 2 additions & 0 deletions test/GroupAndSubgroupInstructions.spvasm
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@
; sub_group_non_uniform_scan_exclusive_logical_xor(x);
; sub_group_rotate(c, x);
; }

; REQUIRES: spirv-dis
; clang -cc1 -O2 -triple spir -cl-std=cl2.0 -finclude-default-header -cl-ext=+all source.cl -emit-llvm-bc -o tmp.bc
; amd-llvm-spirv tmp.bc --spirv-ext=+all,-SPV_KHR_untyped_pointers -o tmp.spv
; spirv-dis tmp.spv -o amd-llvm-spirv/test/GroupAndSubgroupInstructions.spvasm
Expand Down

0 comments on commit 9eefee2

Please sign in to comment.