From df4dd41b940ad3dfb1a93c3d2668bdbc176c2104 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nathan=20Gau=C3=ABr?= Date: Tue, 29 Oct 2024 15:55:52 +0100 Subject: [PATCH] pr feedback typo+todo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Nathan Gauër --- llvm/test/CodeGen/SPIRV/HlslBufferLoad.ll | 1 + llvm/test/CodeGen/SPIRV/ShaderBufferImage.ll | 1 + llvm/test/CodeGen/SPIRV/ShaderImage.ll | 1 + llvm/test/CodeGen/SPIRV/basic_int_types.ll | 1 + llvm/test/CodeGen/SPIRV/basic_int_types_spirvdis.ll | 1 + llvm/test/CodeGen/SPIRV/hlsl-intrinsics/WaveIsFirstLane.ll | 1 - llvm/test/CodeGen/SPIRV/hlsl-intrinsics/degrees.ll | 1 + llvm/test/CodeGen/SPIRV/hlsl-intrinsics/fdot.ll | 1 - llvm/test/CodeGen/SPIRV/hlsl-intrinsics/idot.ll | 1 - llvm/test/CodeGen/SPIRV/hlsl-intrinsics/length.ll | 1 - llvm/test/CodeGen/SPIRV/hlsl-intrinsics/radians.ll | 1 + llvm/test/CodeGen/SPIRV/hlsl-intrinsics/saturate.ll | 1 - llvm/test/CodeGen/SPIRV/hlsl-intrinsics/sign.ll | 1 - llvm/test/CodeGen/SPIRV/literals.ll | 1 + llvm/test/CodeGen/SPIRV/structurizer/loop-continue-split.ll | 2 +- 15 files changed, 9 insertions(+), 7 deletions(-) diff --git a/llvm/test/CodeGen/SPIRV/HlslBufferLoad.ll b/llvm/test/CodeGen/SPIRV/HlslBufferLoad.ll index 2c9ad1a657a1a5..66d5f0f4b05fe6 100644 --- a/llvm/test/CodeGen/SPIRV/HlslBufferLoad.ll +++ b/llvm/test/CodeGen/SPIRV/HlslBufferLoad.ll @@ -1,3 +1,4 @@ +; TODO(pull/110270): verifier, fix G_BITCAST error "bitcast must change type" ; RUN: llc -O0 -mtriple=spirv-vulkan-library %s -o - | FileCheck %s ; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-vulkan-library %s -o - -filetype=obj | spirv-val %} diff --git a/llvm/test/CodeGen/SPIRV/ShaderBufferImage.ll b/llvm/test/CodeGen/SPIRV/ShaderBufferImage.ll index f657f9343cb67d..1f203043e6a164 100644 --- a/llvm/test/CodeGen/SPIRV/ShaderBufferImage.ll +++ b/llvm/test/CodeGen/SPIRV/ShaderBufferImage.ll @@ -1,3 +1,4 @@ +; TODO(pull/110270): verifier, fix G_BITCAST error "bitcast must change type" ; RUN: llc -O0 -mtriple=spirv-vulkan-library %s -o - | FileCheck %s ; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-vulkan-library %s -o - -filetype=obj | spirv-val %} diff --git a/llvm/test/CodeGen/SPIRV/ShaderImage.ll b/llvm/test/CodeGen/SPIRV/ShaderImage.ll index f0a57991816e84..9cd5fb33808056 100644 --- a/llvm/test/CodeGen/SPIRV/ShaderImage.ll +++ b/llvm/test/CodeGen/SPIRV/ShaderImage.ll @@ -1,3 +1,4 @@ +; TODO(pull/110270): verifier, fix G_BITCAST error "bitcast must change type" ; RUN: llc -O0 -mtriple=spirv-vulkan-library %s -o - | FileCheck %s ; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-vulkan-library %s -o - -filetype=obj | spirv-val %} diff --git a/llvm/test/CodeGen/SPIRV/basic_int_types.ll b/llvm/test/CodeGen/SPIRV/basic_int_types.ll index 5aa7aaf6fbd01d..e85e0919d17934 100644 --- a/llvm/test/CodeGen/SPIRV/basic_int_types.ll +++ b/llvm/test/CodeGen/SPIRV/basic_int_types.ll @@ -1,3 +1,4 @@ +; TODO(pull/110270): verifier, fix G_BITCAST error "bitcast must change type" ; RUN: llc -verify-machineinstrs -O0 -mtriple=spirv32-unknown-unknown %s -o - | FileCheck %s ; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv32-unknown-unknown %s -o - -filetype=obj | spirv-val %} diff --git a/llvm/test/CodeGen/SPIRV/basic_int_types_spirvdis.ll b/llvm/test/CodeGen/SPIRV/basic_int_types_spirvdis.ll index 56b5f48715533c..0d7b2b99f64eac 100644 --- a/llvm/test/CodeGen/SPIRV/basic_int_types_spirvdis.ll +++ b/llvm/test/CodeGen/SPIRV/basic_int_types_spirvdis.ll @@ -1,3 +1,4 @@ +; TODO(pull/110270): verifier, fix G_BITCAST error "bitcast must change type" ; REQUIRES: spirv-tools ; RUN: llc -O0 -mtriple=spirv32-unknown-unknown %s -o - --filetype=obj | spirv-dis | FileCheck %s ; RUN: llc -O0 -mtriple=spirv64-unknown-unknown %s -o - --filetype=obj | spirv-dis | FileCheck %s diff --git a/llvm/test/CodeGen/SPIRV/hlsl-intrinsics/WaveIsFirstLane.ll b/llvm/test/CodeGen/SPIRV/hlsl-intrinsics/WaveIsFirstLane.ll index 67023ce773af77..94597b37cc7eb1 100644 --- a/llvm/test/CodeGen/SPIRV/hlsl-intrinsics/WaveIsFirstLane.ll +++ b/llvm/test/CodeGen/SPIRV/hlsl-intrinsics/WaveIsFirstLane.ll @@ -1,4 +1,3 @@ -; TODO(pull/110270): verifier, fix G_BITCAST error "bitcast must change type" ; RUN: llc -O0 -mtriple=spirv-unknown-linux %s -o - | FileCheck %s ; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-vulkan-unknown %s -o - -filetype=obj | spirv-val %} diff --git a/llvm/test/CodeGen/SPIRV/hlsl-intrinsics/degrees.ll b/llvm/test/CodeGen/SPIRV/hlsl-intrinsics/degrees.ll index 67b60aab55a36d..6915362001288b 100644 --- a/llvm/test/CodeGen/SPIRV/hlsl-intrinsics/degrees.ll +++ b/llvm/test/CodeGen/SPIRV/hlsl-intrinsics/degrees.ll @@ -1,3 +1,4 @@ +; TODO(pull/110270): verifier, fix G_BITCAST error "bitcast must change type" ; RUN: llc -O0 -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s ; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %} diff --git a/llvm/test/CodeGen/SPIRV/hlsl-intrinsics/fdot.ll b/llvm/test/CodeGen/SPIRV/hlsl-intrinsics/fdot.ll index c423b404811004..5a8d4581aa0cdb 100644 --- a/llvm/test/CodeGen/SPIRV/hlsl-intrinsics/fdot.ll +++ b/llvm/test/CodeGen/SPIRV/hlsl-intrinsics/fdot.ll @@ -1,4 +1,3 @@ -; TODO(pull/110270): verifier, fix G_BITCAST error "bitcast must change type" ; RUN: llc -O0 -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s ; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %} diff --git a/llvm/test/CodeGen/SPIRV/hlsl-intrinsics/idot.ll b/llvm/test/CodeGen/SPIRV/hlsl-intrinsics/idot.ll index 7ae881f3a3dab5..22b6ed6bdfcbc5 100644 --- a/llvm/test/CodeGen/SPIRV/hlsl-intrinsics/idot.ll +++ b/llvm/test/CodeGen/SPIRV/hlsl-intrinsics/idot.ll @@ -1,4 +1,3 @@ -; TODO(pull/110270): verifier, fix G_BITCAST error "bitcast must change type" ; RUN: llc -O0 -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s ; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %} diff --git a/llvm/test/CodeGen/SPIRV/hlsl-intrinsics/length.ll b/llvm/test/CodeGen/SPIRV/hlsl-intrinsics/length.ll index 99ea3786662563..b4a9d8e0664b7e 100644 --- a/llvm/test/CodeGen/SPIRV/hlsl-intrinsics/length.ll +++ b/llvm/test/CodeGen/SPIRV/hlsl-intrinsics/length.ll @@ -1,4 +1,3 @@ -; TODO(pull/110270): verifier, fix G_BITCAST error "bitcast must change type" ; RUN: llc -O0 -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s ; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %} diff --git a/llvm/test/CodeGen/SPIRV/hlsl-intrinsics/radians.ll b/llvm/test/CodeGen/SPIRV/hlsl-intrinsics/radians.ll index 73f50cbc3f7ca1..7aad4df76e3185 100644 --- a/llvm/test/CodeGen/SPIRV/hlsl-intrinsics/radians.ll +++ b/llvm/test/CodeGen/SPIRV/hlsl-intrinsics/radians.ll @@ -1,3 +1,4 @@ +; TODO(pull/110270): verifier, fix G_BITCAST error "bitcast must change type" ; RUN: llc -O0 -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s ; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %} diff --git a/llvm/test/CodeGen/SPIRV/hlsl-intrinsics/saturate.ll b/llvm/test/CodeGen/SPIRV/hlsl-intrinsics/saturate.ll index 2166eda13eb8fa..0b05b615c4ad17 100644 --- a/llvm/test/CodeGen/SPIRV/hlsl-intrinsics/saturate.ll +++ b/llvm/test/CodeGen/SPIRV/hlsl-intrinsics/saturate.ll @@ -1,4 +1,3 @@ -; TODO(pull/110270): verifier, fix G_BITCAST error "bitcast must change type" ; RUN: llc -O0 -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s ; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %} diff --git a/llvm/test/CodeGen/SPIRV/hlsl-intrinsics/sign.ll b/llvm/test/CodeGen/SPIRV/hlsl-intrinsics/sign.ll index 2e249f37505afb..52a41c3d3ad648 100644 --- a/llvm/test/CodeGen/SPIRV/hlsl-intrinsics/sign.ll +++ b/llvm/test/CodeGen/SPIRV/hlsl-intrinsics/sign.ll @@ -1,4 +1,3 @@ -; TODO(pull/110270): verifier, fix G_BITCAST error "bitcast must change type" ; RUN: llc -O0 -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s ; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %} diff --git a/llvm/test/CodeGen/SPIRV/literals.ll b/llvm/test/CodeGen/SPIRV/literals.ll index 4f5aa7d4fa0e86..86a366976a6e26 100644 --- a/llvm/test/CodeGen/SPIRV/literals.ll +++ b/llvm/test/CodeGen/SPIRV/literals.ll @@ -1,3 +1,4 @@ +; TODO(pull/110270): verifier, fix G_BITCAST error "bitcast must change type" ; RUN: llc -verify-machineinstrs -O0 -mtriple=spirv32-unknown-unknown %s -o - | FileCheck %s ; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv32-unknown-unknown %s -o - -filetype=obj | spirv-val %} diff --git a/llvm/test/CodeGen/SPIRV/structurizer/loop-continue-split.ll b/llvm/test/CodeGen/SPIRV/structurizer/loop-continue-split.ll index 9a634b76bc5cc1..edbb0b1050a34f 100644 --- a/llvm/test/CodeGen/SPIRV/structurizer/loop-continue-split.ll +++ b/llvm/test/CodeGen/SPIRV/structurizer/loop-continue-split.ll @@ -1,7 +1,7 @@ ; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-vulkan-compute %s -o - -filetype=obj | spirv-val %} ; RUN: llc -mtriple=spirv-unknown-vulkan-compute -O0 %s -o - | FileCheck %s -; The goal of this test is to volontarily create 2 overlapping convergence +; The goal of this test is to voluntarily create 2 overlapping convergence ; structures: the loop, and the inner condition. ; Here, the condition header also branches to 2 internal nodes, which are not ; directly a merge/exits.