================ @@ -0,0 +1,82 @@ +; RUN: llc -O0 -verify-machineinstrs -mtriple=spirv-vulkan-unknown %s -o - | FileCheck %s +; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-vulkan-unknown %s -o - -filetype=obj | spirv-val %} + +; This file generated from the following command: +; clang -cc1 -triple spirv-vulkan-library -x hlsl -emit-llvm -disable-llvm-passes -finclude-default-header - -o - <<EOF +; [shader("compute")] +; [numthreads(1,1,1)] +; void main(uint3 ID : SV_GroupID) {} +; EOF ---------------- lizhengxing wrote:
@bogner Could you approve this PR if the updated SV_GroupID.ll test is OK? https://github.com/llvm/llvm-project/pull/121521 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits