mirror of
https://github.com/intel/llvm.git
synced 2026-01-18 07:57:36 +08:00
[SPIR-V] Re-enable -verify-machineinstrs on tests (#114388)
Many tests had this flag removed because of the G_BITCAST emission issue. Now that the PR is merged, we can re-enable this additional check. 2 tests (basic_int_types) just have the TODO removed because they are not useful for SPIR-V as-is: SPIR-V requires reg2mem/mem2reg to run, which removes all the body. Integers are used in other spirv tests, and seems like testing for spirv32/64 and relying on others for the logical target coverage should be fine. Signed-off-by: Nathan Gauër <brioche@google.com>
This commit is contained in:
@@ -1,5 +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: llc -O0 -verify-machineinstrs -mtriple=spirv-vulkan-library %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-vulkan-library %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; CHECK-NOT: OpCapability ImageBasic
|
||||
|
||||
@@ -1,5 +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: llc -O0 -verify-machineinstrs -mtriple=spirv-vulkan-library %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-vulkan-library %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; CHECK-DAG: [[Float:%[0-9]+]] = OpTypeFloat 32
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
; 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 %}
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
; 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
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
; TODO(pull/110270): verifier, fix G_BITCAST error "bitcast must change type"
|
||||
; RUN: llc -O0 -mtriple=spirv-vulkan-unknown %s -o - | FileCheck %s
|
||||
; 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:
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
; TODO(pull/110270): verifier, fix G_BITCAST error "bitcast must change type"
|
||||
; RUN: llc -O0 -mtriple=spirv-vulkan-unknown %s -o - | FileCheck %s
|
||||
; 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:
|
||||
|
||||
@@ -1,5 +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: llc -O0 -verify-machineinstrs -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; CHECK: OpExtInstImport "GLSL.std.450"
|
||||
|
||||
@@ -1,5 +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: llc -O0 -verify-machineinstrs -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; CHECK-DAG: %[[#op_ext_glsl:]] = OpExtInstImport "GLSL.std.450"
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
; TODO(pull/110270): verifier, fix G_BITCAST error "bitcast must change type"
|
||||
; RUN: llc -O0 -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s --check-prefixes=CHECK,CHECK-HLSL
|
||||
; RUN: llc -O0 -mtriple=spirv32-unknown-unknown %s -o - | FileCheck %s --check-prefixes=CHECK,CHECK-OCL
|
||||
; RUN: llc -O0 -verify-machineinstrs -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s --check-prefixes=CHECK,CHECK-HLSL
|
||||
; RUN: llc -O0 -verify-machineinstrs -mtriple=spirv32-unknown-unknown %s -o - | FileCheck %s --check-prefixes=CHECK,CHECK-OCL
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv32-unknown-unknown %s -o - -filetype=obj | spirv-val %}
|
||||
; Make sure spirv operation function calls for all are generated.
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
; TODO(pull/110270): verifier, fix G_BITCAST error "bitcast must change type"
|
||||
; RUN: llc -O0 -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s --check-prefixes=CHECK,CHECK-HLSL
|
||||
; RUN: llc -O0 -mtriple=spirv32-unknown-unknown %s -o - | FileCheck %s --check-prefixes=CHECK,CHECK-OCL
|
||||
; RUN: llc -O0 -verify-machineinstrs -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s --check-prefixes=CHECK,CHECK-HLSL
|
||||
; RUN: llc -O0 -verify-machineinstrs -mtriple=spirv32-unknown-unknown %s -o - | FileCheck %s --check-prefixes=CHECK,CHECK-OCL
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv32-unknown-unknown %s -o - -filetype=obj | spirv-val %}
|
||||
; Make sure spirv operation function calls for any are generated.
|
||||
|
||||
@@ -1,5 +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: llc -O0 -verify-machineinstrs -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; CHECK-DAG: %[[#op_ext_glsl:]] = OpExtInstImport "GLSL.std.450"
|
||||
|
||||
@@ -1,5 +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: llc -O0 -verify-machineinstrs -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; CHECK-DAG: %[[#op_ext_glsl:]] = OpExtInstImport "GLSL.std.450"
|
||||
|
||||
@@ -1,5 +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: llc -O0 -verify-machineinstrs -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; CHECK-DAG: %[[#op_ext_glsl:]] = OpExtInstImport "GLSL.std.450"
|
||||
|
||||
@@ -1,5 +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: llc -O0 -verify-machineinstrs -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
|
||||
; CHECK: OpExtInstImport "GLSL.std.450"
|
||||
|
||||
|
||||
@@ -1,5 +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: llc -O0 -verify-machineinstrs -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; CHECK: OpExtInstImport "GLSL.std.450"
|
||||
|
||||
@@ -1,5 +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: llc -O0 -verify-machineinstrs -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; CHECK-DAG: %[[#op_ext_glsl:]] = OpExtInstImport "GLSL.std.450"
|
||||
|
||||
@@ -1,5 +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: llc -O0 -verify-machineinstrs -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; CHECK: OpMemoryModel Logical GLSL450
|
||||
|
||||
@@ -1,5 +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: llc -O0 -verify-machineinstrs -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; CHECK-DAG: %[[#op_ext_glsl:]] = OpExtInstImport "GLSL.std.450"
|
||||
|
||||
@@ -1,5 +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: llc -O0 -verify-machineinstrs -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; CHECK: OpExtInstImport "GLSL.std.450"
|
||||
|
||||
@@ -1,5 +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: llc -O0 -verify-machineinstrs -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; CHECK: OpExtInstImport "GLSL.std.450"
|
||||
|
||||
@@ -1,5 +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: llc -O0 -verify-machineinstrs -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; CHECK: OpExtInstImport "GLSL.std.450"
|
||||
|
||||
@@ -1,5 +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: llc -O0 -verify-machineinstrs -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; CHECK: OpExtInstImport "GLSL.std.450"
|
||||
|
||||
@@ -1,5 +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: llc -O0 -verify-machineinstrs -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
|
||||
; CHECK: OpExtInstImport "GLSL.std.450"
|
||||
|
||||
|
||||
@@ -1,5 +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: llc -O0 -verify-machineinstrs -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; CHECK: OpExtInstImport "GLSL.std.450"
|
||||
|
||||
@@ -1,5 +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: llc -O0 -verify-machineinstrs -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; CHECK-DAG: %[[#op_ext_glsl:]] = OpExtInstImport "GLSL.std.450"
|
||||
|
||||
@@ -1,5 +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: llc -O0 -verify-machineinstrs -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; CHECK: OpMemoryModel Logical GLSL450
|
||||
|
||||
@@ -1,5 +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: llc -O0 -verify-machineinstrs -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; CHECK-DAG: %[[#int_16:]] = OpTypeInt 16 0
|
||||
|
||||
@@ -1,5 +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: llc -O0 -verify-machineinstrs -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; Make sure SPIRV operation function calls for lerp are generated as FMix
|
||||
|
||||
@@ -1,5 +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: llc -O0 -verify-machineinstrs -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; CHECK: OpExtInstImport "GLSL.std.450"
|
||||
|
||||
@@ -1,5 +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: llc -O0 -verify-machineinstrs -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; CHECK: %[[#extinst:]] = OpExtInstImport "GLSL.std.450"
|
||||
|
||||
@@ -1,5 +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: llc -O0 -verify-machineinstrs -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; CHECK: OpExtInstImport "GLSL.std.450"
|
||||
|
||||
@@ -1,5 +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: llc -O0 -verify-machineinstrs -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; Make sure SPIRV operation function calls for normalize are lowered correctly.
|
||||
|
||||
@@ -1,5 +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: llc -O0 -verify-machineinstrs -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; CHECK: OpExtInstImport "GLSL.std.450"
|
||||
|
||||
@@ -1,5 +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: llc -O0 -verify-machineinstrs -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; CHECK-DAG: %[[#op_ext_glsl:]] = OpExtInstImport "GLSL.std.450"
|
||||
|
||||
@@ -1,5 +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: llc -O0 -verify-machineinstrs -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
|
||||
|
||||
; CHECK-DAG: %[[#float_64:]] = OpTypeFloat 64
|
||||
; CHECK-DAG: %[[#float_32:]] = OpTypeFloat 32
|
||||
|
||||
@@ -1,5 +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: llc -O0 -verify-machineinstrs -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; CHECK: OpMemoryModel Logical GLSL450
|
||||
|
||||
@@ -1,5 +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: llc -O0 -verify-machineinstrs -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; CHECK: OpExtInstImport "GLSL.std.450"
|
||||
|
||||
@@ -1,5 +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: llc -O0 -verify-machineinstrs -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; CHECK-DAG: %[[#op_ext_glsl:]] = OpExtInstImport "GLSL.std.450"
|
||||
|
||||
@@ -1,5 +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: llc -O0 -verify-machineinstrs -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; CHECK: OpExtInstImport "GLSL.std.450"
|
||||
|
||||
@@ -1,5 +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: llc -O0 -verify-machineinstrs -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; CHECK-DAG: %[[#op_ext_glsl:]] = OpExtInstImport "GLSL.std.450"
|
||||
|
||||
@@ -1,5 +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: llc -O0 -verify-machineinstrs -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; CHECK: OpExtInstImport "GLSL.std.450"
|
||||
|
||||
@@ -1,5 +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: llc -O0 -verify-machineinstrs -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; CHECK: OpExtInstImport "GLSL.std.450"
|
||||
|
||||
@@ -1,5 +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: llc -O0 -verify-machineinstrs -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; Make sure lowering is correctly generating spirv code.
|
||||
|
||||
@@ -1,5 +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: llc -O0 -verify-machineinstrs -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; CHECK: OpExtInstImport "GLSL.std.450"
|
||||
|
||||
@@ -1,5 +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: llc -O0 -verify-machineinstrs -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; Make sure SPIRV operation function calls for step are lowered correctly.
|
||||
|
||||
@@ -1,5 +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: llc -O0 -verify-machineinstrs -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; CHECK-DAG: %[[#op_ext_glsl:]] = OpExtInstImport "GLSL.std.450"
|
||||
|
||||
@@ -1,5 +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: llc -O0 -verify-machineinstrs -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; CHECK-DAG: %[[#op_ext_glsl:]] = OpExtInstImport "GLSL.std.450"
|
||||
|
||||
@@ -1,5 +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: llc -O0 -verify-machineinstrs -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; CHECK: OpExtInstImport "GLSL.std.450"
|
||||
|
||||
@@ -1,5 +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: llc -O0 -verify-machineinstrs -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; CHECK: OpExtInstImport "GLSL.std.450"
|
||||
|
||||
@@ -1,5 +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: llc -O0 -verify-machineinstrs -mtriple=spirv-unknown-unknown %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-unknown-unknown %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; CHECK: OpExtInstImport "GLSL.std.450"
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
; TODO(pull/110270): verifier, fix G_BITCAST error "bitcast must change type"
|
||||
; RUN: llc -O0 -mtriple=spirv1.5-vulkan-library %s -o - | FileCheck %s
|
||||
; RUN: llc -O0 -verify-machineinstrs -mtriple=spirv1.5-vulkan-library %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv1.5-vulkan-library %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; CHECK: OpCapability Shader
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
; TODO(pull/110270): verifier, fix G_BITCAST error "bitcast must change type"
|
||||
; RUN: llc -O0 -mtriple=spirv1.5-vulkan-library %s -o - | FileCheck %s
|
||||
; RUN: llc -O0 -verify-machineinstrs -mtriple=spirv1.5-vulkan-library %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv1.5-vulkan-library %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; CHECK: OpCapability Shader
|
||||
|
||||
@@ -1,5 +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: llc -O0 -verify-machineinstrs -mtriple=spirv-vulkan-library %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv-vulkan-library %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; CHECK-DAG: OpDecorate [[IntBufferVar:%[0-9]+]] DescriptorSet 16
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
; TODO(pull/110270): verifier, fix G_BITCAST error "bitcast must change type"
|
||||
; RUN: llc -O0 -mtriple=spirv1.5-vulkan-library %s -o - | FileCheck %s
|
||||
; RUN: llc -O0 -verify-machineinstrs -mtriple=spirv1.5-vulkan-library %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv1.5-vulkan-library %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; CHECK: OpCapability Shader
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
; TODO(pull/110270): verifier, fix G_BITCAST error "bitcast must change type"
|
||||
; RUN: llc -O0 -mtriple=spirv1.5-vulkan-library %s -o - | FileCheck %s
|
||||
; RUN: llc -O0 -verify-machineinstrs -mtriple=spirv1.5-vulkan-library %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv1.5-vulkan-library %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; CHECK: OpCapability Shader
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
; TODO(pull/110270): verifier, fix G_BITCAST error "bitcast must change type"
|
||||
; RUN: llc -O0 -mtriple=spirv1.5-vulkan-library %s -o - | FileCheck %s
|
||||
; RUN: llc -O0 -verify-machineinstrs -mtriple=spirv1.5-vulkan-library %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv1.5-vulkan-library %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; CHECK: OpCapability Shader
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
; TODO(pull/110270): verifier, fix G_BITCAST error "bitcast must change type"
|
||||
; RUN: llc -O0 -mtriple=spirv1.5-vulkan-library %s -o - | FileCheck %s
|
||||
; RUN: llc -O0 -verify-machineinstrs -mtriple=spirv1.5-vulkan-library %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv1.5-vulkan-library %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; CHECK: OpCapability Shader
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
; TODO(pull/110270): verifier, fix G_BITCAST error "bitcast must change type"
|
||||
; RUN: llc -O0 -mtriple=spirv1.5-vulkan-library %s -o - | FileCheck %s
|
||||
; RUN: llc -O0 -verify-machineinstrs -mtriple=spirv1.5-vulkan-library %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv1.5-vulkan-library %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; CHECK: OpCapability Shader
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
; TODO(pull/110270): verifier, fix G_BITCAST error "bitcast must change type"
|
||||
; RUN: llc -O0 -mtriple=spirv1.5-vulkan-library %s -o - | FileCheck %s
|
||||
; RUN: llc -O0 -verify-machineinstrs -mtriple=spirv1.5-vulkan-library %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv1.5-vulkan-library %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; CHECK: OpCapability Shader
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
; TODO(pull/110270): verifier, fix G_BITCAST error "bitcast must change type"
|
||||
; RUN: llc -O0 -mtriple=spirv1.5-vulkan-library %s -o - | FileCheck %s
|
||||
; RUN: llc -O0 -verify-machineinstrs -mtriple=spirv1.5-vulkan-library %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv1.5-vulkan-library %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; CHECK: OpCapability Shader
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
; TODO(pull/110270): verifier, fix G_BITCAST error "bitcast must change type"
|
||||
; RUN: llc -O0 -mtriple=spirv1.5-vulkan-library %s -o - | FileCheck %s
|
||||
; RUN: llc -O0 -verify-machineinstrs -mtriple=spirv1.5-vulkan-library %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv1.5-vulkan-library %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; CHECK: OpCapability Shader
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
; TODO(pull/110270): verifier, fix G_BITCAST error "bitcast must change type"
|
||||
; RUN: llc -O0 -mtriple=spirv1.5-vulkan-library %s -o - | FileCheck %s
|
||||
; RUN: llc -O0 -verify-machineinstrs -mtriple=spirv1.5-vulkan-library %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv1.5-vulkan-library %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; CHECK: OpCapability Shader
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
; TODO(pull/110270): verifier, fix G_BITCAST error "bitcast must change type"
|
||||
; RUN: llc -O0 -mtriple=spirv1.5-vulkan-library %s -o - | FileCheck %s
|
||||
; RUN: llc -O0 -verify-machineinstrs -mtriple=spirv1.5-vulkan-library %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv1.5-vulkan-library %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; CHECK: OpCapability Shader
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
; TODO(pull/110270): verifier, fix G_BITCAST error "bitcast must change type"
|
||||
; RUN: llc -O0 -mtriple=spirv1.5-vulkan-library %s -o - | FileCheck %s
|
||||
; RUN: llc -O0 -verify-machineinstrs -mtriple=spirv1.5-vulkan-library %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv1.5-vulkan-library %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; CHECK: OpCapability Shader
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
; TODO(pull/110270): verifier, fix G_BITCAST error "bitcast must change type"
|
||||
; RUN: llc -O0 -mtriple=spirv1.5-vulkan-library %s -o - | FileCheck %s
|
||||
; RUN: llc -O0 -verify-machineinstrs -mtriple=spirv1.5-vulkan-library %s -o - | FileCheck %s
|
||||
; RUN: %if spirv-tools %{ llc -O0 -mtriple=spirv1.5-vulkan-library %s -o - -filetype=obj | spirv-val %}
|
||||
|
||||
; CHECK: OpCapability Shader
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
; 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 %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user