diff --git a/test/DebugInfo/DebugInfoLexicalBlockDependency.ll b/test/DebugInfo/DebugInfoLexicalBlockDependency.ll index ce83f00906..7de85ecb82 100644 --- a/test/DebugInfo/DebugInfoLexicalBlockDependency.ll +++ b/test/DebugInfo/DebugInfoLexicalBlockDependency.ll @@ -3,8 +3,7 @@ ; - The parent scope of the local variable VAL is the lexical block LB ; - The parent scope of the lexical block LB is the subprogram. -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -o %t.spv +; RUN: llvm-spirv %s -o %t.spv ; RUN: llvm-spirv -r %t.spv -o %t.rev.bc ; RUN: llvm-dis %t.rev.bc -o %t.rev.ll ; RUN: FileCheck %s --input-file %t.rev.ll diff --git a/test/DebugInfo/NonSemantic/Shader200/DebugInfoStringType.ll b/test/DebugInfo/NonSemantic/Shader200/DebugInfoStringType.ll index f8a543c6fe..7eaf9e1c99 100644 --- a/test/DebugInfo/NonSemantic/Shader200/DebugInfoStringType.ll +++ b/test/DebugInfo/NonSemantic/Shader200/DebugInfoStringType.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv -spirv-text %t.bc -o %t.spt --spirv-debug-info-version=nonsemantic-shader-200 +; RUN: llvm-spirv -spirv-text %s -o %t.spt --spirv-debug-info-version=nonsemantic-shader-200 ; RUN: FileCheck < %t.spt %s -check-prefix=CHECK-SPIRV ; RUN: llvm-spirv -to-binary %t.spt -o %t.spv diff --git a/test/DebugInfo/NonSemantic/Shader200/DebugInfoSubrange.ll b/test/DebugInfo/NonSemantic/Shader200/DebugInfoSubrange.ll index cd58606604..18e3d36924 100644 --- a/test/DebugInfo/NonSemantic/Shader200/DebugInfoSubrange.ll +++ b/test/DebugInfo/NonSemantic/Shader200/DebugInfoSubrange.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv -spirv-text %t.bc -o %t.spt --spirv-debug-info-version=nonsemantic-shader-200 +; RUN: llvm-spirv -spirv-text %s -o %t.spt --spirv-debug-info-version=nonsemantic-shader-200 ; RUN: FileCheck < %t.spt %s -check-prefix=CHECK-SPIRV ; RUN: llvm-spirv -to-binary %t.spt -o %t.spv diff --git a/test/DebugInfo/NonSemantic/Shader200/DebugInfoTargetFunction.ll b/test/DebugInfo/NonSemantic/Shader200/DebugInfoTargetFunction.ll index 637e254e5b..48a777a220 100644 --- a/test/DebugInfo/NonSemantic/Shader200/DebugInfoTargetFunction.ll +++ b/test/DebugInfo/NonSemantic/Shader200/DebugInfoTargetFunction.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv -spirv-text %t.bc -o %t.spt --spirv-debug-info-version=nonsemantic-shader-200 +; RUN: llvm-spirv -spirv-text %s -o %t.spt --spirv-debug-info-version=nonsemantic-shader-200 ; RUN: FileCheck < %t.spt %s -check-prefix=CHECK-SPIRV ; RUN: llvm-spirv -to-binary %t.spt -o %t.spv diff --git a/test/DebugInfo/NonSemantic/Shader200/InlineNamespace.ll b/test/DebugInfo/NonSemantic/Shader200/InlineNamespace.ll index 4e0f709a0b..713cf0f6bf 100644 --- a/test/DebugInfo/NonSemantic/Shader200/InlineNamespace.ll +++ b/test/DebugInfo/NonSemantic/Shader200/InlineNamespace.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv -spirv-text %t.bc -o %t.spt --spirv-debug-info-version=nonsemantic-shader-200 +; RUN: llvm-spirv -spirv-text %s -o %t.spt --spirv-debug-info-version=nonsemantic-shader-200 ; RUN: FileCheck < %t.spt %s -check-prefix=CHECK-SPIRV ; RUN: llvm-spirv -to-binary %t.spt -o %t.spv diff --git a/test/DebugInfo/OpenCL100/DebugInfoSubrange.ll b/test/DebugInfo/OpenCL100/DebugInfoSubrange.ll index be42458951..4e513064cf 100644 --- a/test/DebugInfo/OpenCL100/DebugInfoSubrange.ll +++ b/test/DebugInfo/OpenCL100/DebugInfoSubrange.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv -spirv-text %t.bc -o %t.spt +; RUN: llvm-spirv -spirv-text %s -o %t.spt ; RUN: FileCheck < %t.spt %s -check-prefix=CHECK-SPIRV ; RUN: llvm-spirv -to-binary %t.spt -o %t.spv diff --git a/test/DebugInfo/RecursiveDebugInfo.ll b/test/DebugInfo/RecursiveDebugInfo.ll index 0a4279425c..bfa90fd864 100644 --- a/test/DebugInfo/RecursiveDebugInfo.ll +++ b/test/DebugInfo/RecursiveDebugInfo.ll @@ -36,8 +36,7 @@ ; return 0; ; } -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -o %t.spv +; RUN: llvm-spirv %s -o %t.spv ; RUN: llvm-spirv -r %t.spv -o %t.rev.bc ; RUN: llvm-dis < %t.rev.bc | FileCheck %s diff --git a/test/complex-constexpr-vector.ll b/test/complex-constexpr-vector.ll index 3737e4dd95..ee327e9ce0 100644 --- a/test/complex-constexpr-vector.ll +++ b/test/complex-constexpr-vector.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -o %t.spv +; RUN: llvm-spirv %s -o %t.spv ; RUN: llvm-spirv %t.spv -to-text -o %t.spt ; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV ; RUN: llvm-spirv -r %t.spv -o %t.rev.bc diff --git a/test/complex-constexpr.ll b/test/complex-constexpr.ll index 41f268ed47..3c6c71101c 100644 --- a/test/complex-constexpr.ll +++ b/test/complex-constexpr.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -o %t.spv +; RUN: llvm-spirv %s -o %t.spv ; RUN: spirv-val %t.spv ; RUN: llvm-spirv %t.spv -o %t.spt --to-text ; RUN: llvm-spirv -r %t.spv -o %t.rev.bc diff --git a/test/constexpr_phi.ll b/test/constexpr_phi.ll index c4d0d498d8..f588198e47 100644 --- a/test/constexpr_phi.ll +++ b/test/constexpr_phi.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_INTEL_function_pointers -o %t.spv +; RUN: llvm-spirv %s --spirv-ext=+SPV_INTEL_function_pointers -o %t.spv ; RUN: llvm-spirv %t.spv -to-text -o %t.spt ; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV ; RUN: llvm-spirv -r %t.spv -o %t.r.bc diff --git a/test/constexpr_vector.ll b/test/constexpr_vector.ll index f918f3f05f..bdf4bc83df 100644 --- a/test/constexpr_vector.ll +++ b/test/constexpr_vector.ll @@ -1,6 +1,5 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -o %t.spv --spirv-ext=+SPV_INTEL_function_pointers +; RUN: llvm-spirv %s -o %t.spv --spirv-ext=+SPV_INTEL_function_pointers ; RUN: llvm-spirv %t.spv -to-text -o %t.spt ; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV ; RUN: llvm-spirv -r %t.spv -o %t.rev.bc diff --git a/test/create-placeholders-for-phi-operands.ll b/test/create-placeholders-for-phi-operands.ll index fcd58c583e..8907d63406 100644 --- a/test/create-placeholders-for-phi-operands.ll +++ b/test/create-placeholders-for-phi-operands.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -o %t.spv -spirv-ext=+SPV_INTEL_variable_length_array +; RUN: llvm-spirv %s -o %t.spv -spirv-ext=+SPV_INTEL_variable_length_array ; RUN: llvm-spirv -r %t.spv -o %t.rev.bc ; RUN: llvm-dis %t.rev.bc -o %t.rev.ll ; RUN: FileCheck %s --input-file %t.rev.ll --check-prefix CHECK-LLVM diff --git a/test/extensions/EXT/SPV_EXT_shader_atomic_float_/AtomicFAddEXT.ll b/test/extensions/EXT/SPV_EXT_shader_atomic_float_/AtomicFAddEXT.ll index dcefd544b0..83976e80ca 100644 --- a/test/extensions/EXT/SPV_EXT_shader_atomic_float_/AtomicFAddEXT.ll +++ b/test/extensions/EXT/SPV_EXT_shader_atomic_float_/AtomicFAddEXT.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_EXT_shader_atomic_float_add -o %t.spv +; RUN: llvm-spirv %s --spirv-ext=+SPV_EXT_shader_atomic_float_add -o %t.spv ; RUN: spirv-val %t.spv ; RUN: llvm-spirv -to-text %t.spv -o %t.spt ; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV diff --git a/test/extensions/EXT/SPV_EXT_shader_atomic_float_/AtomicFAddEXTForOCL.ll b/test/extensions/EXT/SPV_EXT_shader_atomic_float_/AtomicFAddEXTForOCL.ll index bc6dd8bfa0..43be2a6366 100644 --- a/test/extensions/EXT/SPV_EXT_shader_atomic_float_/AtomicFAddEXTForOCL.ll +++ b/test/extensions/EXT/SPV_EXT_shader_atomic_float_/AtomicFAddEXTForOCL.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_EXT_shader_atomic_float_add -o %t.spv +; RUN: llvm-spirv %s --spirv-ext=+SPV_EXT_shader_atomic_float_add -o %t.spv ; RUN: spirv-val %t.spv ; RUN: llvm-spirv -to-text %t.spv -o %t.spt ; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV diff --git a/test/extensions/EXT/SPV_EXT_shader_atomic_float_/AtomicFMaxEXT.ll b/test/extensions/EXT/SPV_EXT_shader_atomic_float_/AtomicFMaxEXT.ll index c86c5c2834..f41cc0f2d9 100644 --- a/test/extensions/EXT/SPV_EXT_shader_atomic_float_/AtomicFMaxEXT.ll +++ b/test/extensions/EXT/SPV_EXT_shader_atomic_float_/AtomicFMaxEXT.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_EXT_shader_atomic_float_min_max -o %t.spv +; RUN: llvm-spirv %s --spirv-ext=+SPV_EXT_shader_atomic_float_min_max -o %t.spv ; RUN: spirv-val %t.spv ; RUN: llvm-spirv -to-text %t.spv -o %t.spt ; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV diff --git a/test/extensions/EXT/SPV_EXT_shader_atomic_float_/AtomicFMaxEXTForOCL.ll b/test/extensions/EXT/SPV_EXT_shader_atomic_float_/AtomicFMaxEXTForOCL.ll index aca9468f5e..af4c049065 100644 --- a/test/extensions/EXT/SPV_EXT_shader_atomic_float_/AtomicFMaxEXTForOCL.ll +++ b/test/extensions/EXT/SPV_EXT_shader_atomic_float_/AtomicFMaxEXTForOCL.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_EXT_shader_atomic_float_min_max -o %t.spv +; RUN: llvm-spirv %s --spirv-ext=+SPV_EXT_shader_atomic_float_min_max -o %t.spv ; RUN: spirv-val %t.spv ; RUN: llvm-spirv -to-text %t.spv -o %t.spt ; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV diff --git a/test/extensions/EXT/SPV_EXT_shader_atomic_float_/AtomicFMinEXT.ll b/test/extensions/EXT/SPV_EXT_shader_atomic_float_/AtomicFMinEXT.ll index 66461d7d7e..460695aaaf 100644 --- a/test/extensions/EXT/SPV_EXT_shader_atomic_float_/AtomicFMinEXT.ll +++ b/test/extensions/EXT/SPV_EXT_shader_atomic_float_/AtomicFMinEXT.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_EXT_shader_atomic_float_min_max -o %t.spv +; RUN: llvm-spirv %s --spirv-ext=+SPV_EXT_shader_atomic_float_min_max -o %t.spv ; RUN: spirv-val %t.spv ; RUN: llvm-spirv -to-text %t.spv -o %t.spt ; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV diff --git a/test/extensions/EXT/SPV_EXT_shader_atomic_float_/AtomicFMinEXTForOCL.ll b/test/extensions/EXT/SPV_EXT_shader_atomic_float_/AtomicFMinEXTForOCL.ll index e0c1374b8a..548f4a045c 100644 --- a/test/extensions/EXT/SPV_EXT_shader_atomic_float_/AtomicFMinEXTForOCL.ll +++ b/test/extensions/EXT/SPV_EXT_shader_atomic_float_/AtomicFMinEXTForOCL.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_EXT_shader_atomic_float_min_max -o %t.spv +; RUN: llvm-spirv %s --spirv-ext=+SPV_EXT_shader_atomic_float_min_max -o %t.spv ; RUN: spirv-val %t.spv ; RUN: llvm-spirv -to-text %t.spv -o %t.spt ; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV diff --git a/test/extensions/EXT/SPV_EXT_shader_atomic_float_/AtomicFSubEXTForOCL.ll b/test/extensions/EXT/SPV_EXT_shader_atomic_float_/AtomicFSubEXTForOCL.ll index 4fe7e72373..87c05b8a86 100644 --- a/test/extensions/EXT/SPV_EXT_shader_atomic_float_/AtomicFSubEXTForOCL.ll +++ b/test/extensions/EXT/SPV_EXT_shader_atomic_float_/AtomicFSubEXTForOCL.ll @@ -1,7 +1,6 @@ ;; Check that atomic_fetch_sub is translated to OpAtomicFAddEXT with negative ;; value operand -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_EXT_shader_atomic_float_add -o %t.spv +; RUN: llvm-spirv %s --spirv-ext=+SPV_EXT_shader_atomic_float_add -o %t.spv ; RUN: spirv-val %t.spv ; RUN: llvm-spirv -to-text %t.spv -o %t.spt ; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV diff --git a/test/extensions/INTEL/SPV_INTEL_arbitrary_precision_integers/capability-arbitrary-precision-integers.ll b/test/extensions/INTEL/SPV_INTEL_arbitrary_precision_integers/capability-arbitrary-precision-integers.ll index be719dc0a4..70ba4f36aa 100644 --- a/test/extensions/INTEL/SPV_INTEL_arbitrary_precision_integers/capability-arbitrary-precision-integers.ll +++ b/test/extensions/INTEL/SPV_INTEL_arbitrary_precision_integers/capability-arbitrary-precision-integers.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_INTEL_arbitrary_precision_integers -o %t.spv +; RUN: llvm-spirv %s --spirv-ext=+SPV_INTEL_arbitrary_precision_integers -o %t.spv ; RUN: llvm-spirv %t.spv -to-text -o %t.spt ; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV diff --git a/test/extensions/INTEL/SPV_INTEL_fp_max_error/IntelFPMaxErrorFPMath.ll b/test/extensions/INTEL/SPV_INTEL_fp_max_error/IntelFPMaxErrorFPMath.ll index 9b62a2de77..50438eb7b5 100644 --- a/test/extensions/INTEL/SPV_INTEL_fp_max_error/IntelFPMaxErrorFPMath.ll +++ b/test/extensions/INTEL/SPV_INTEL_fp_max_error/IntelFPMaxErrorFPMath.ll @@ -1,7 +1,6 @@ ; Confirm that we handle fpmath metadata correctly -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_INTEL_fp_max_error -o %t.spv +; RUN: llvm-spirv %s --spirv-ext=+SPV_INTEL_fp_max_error -o %t.spv ; RUN: llvm-spirv %t.spv -to-text -o %t.spt ; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV diff --git a/test/extensions/INTEL/SPV_INTEL_fpga_argument_interfaces/sycl-kernel-arg-annotation.ll b/test/extensions/INTEL/SPV_INTEL_fpga_argument_interfaces/sycl-kernel-arg-annotation.ll index 992862a3b3..8615cb8c7b 100644 --- a/test/extensions/INTEL/SPV_INTEL_fpga_argument_interfaces/sycl-kernel-arg-annotation.ll +++ b/test/extensions/INTEL/SPV_INTEL_fpga_argument_interfaces/sycl-kernel-arg-annotation.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -spirv-ext=-all,+SPV_INTEL_fpga_argument_interfaces,+SPV_INTEL_fpga_buffer_location -o %t.spv +; RUN: llvm-spirv %s -spirv-ext=-all,+SPV_INTEL_fpga_argument_interfaces,+SPV_INTEL_fpga_buffer_location -o %t.spv ; RUN: llvm-spirv %t.spv -to-text -o - | FileCheck %s --check-prefix=CHECK-SPIRV ; RUN: llvm-spirv -r %t.spv -o %t.rev.bc ; RUN: llvm-dis < %t.rev.bc | FileCheck %s --check-prefix=CHECK-LLVM diff --git a/test/extensions/INTEL/SPV_INTEL_fpga_buffer_location/FPGABufferLocation.ll b/test/extensions/INTEL/SPV_INTEL_fpga_buffer_location/FPGABufferLocation.ll index 78ce87dc8b..003ee059e5 100644 --- a/test/extensions/INTEL/SPV_INTEL_fpga_buffer_location/FPGABufferLocation.ll +++ b/test/extensions/INTEL/SPV_INTEL_fpga_buffer_location/FPGABufferLocation.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_INTEL_fpga_buffer_location -o %t.spv +; RUN: llvm-spirv %s --spirv-ext=+SPV_INTEL_fpga_buffer_location -o %t.spv ; RUN: llvm-spirv %t.spv -to-text -o %t.spt ; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV diff --git a/test/extensions/INTEL/SPV_INTEL_fpga_buffer_location/sycl-buffer-location-with-ptr-annotation.ll b/test/extensions/INTEL/SPV_INTEL_fpga_buffer_location/sycl-buffer-location-with-ptr-annotation.ll index 037b3917a4..e7961f764c 100644 --- a/test/extensions/INTEL/SPV_INTEL_fpga_buffer_location/sycl-buffer-location-with-ptr-annotation.ll +++ b/test/extensions/INTEL/SPV_INTEL_fpga_buffer_location/sycl-buffer-location-with-ptr-annotation.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_INTEL_fpga_buffer_location -o %t.spv +; RUN: llvm-spirv %s --spirv-ext=+SPV_INTEL_fpga_buffer_location -o %t.spv ; RUN: llvm-spirv %t.spv -to-text -o %t.spt ; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV diff --git a/test/extensions/INTEL/SPV_INTEL_fpga_latency_control/IntelFPGALatencyControl.ll b/test/extensions/INTEL/SPV_INTEL_fpga_latency_control/IntelFPGALatencyControl.ll index b69cf9a1f6..d7b57912f7 100644 --- a/test/extensions/INTEL/SPV_INTEL_fpga_latency_control/IntelFPGALatencyControl.ll +++ b/test/extensions/INTEL/SPV_INTEL_fpga_latency_control/IntelFPGALatencyControl.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_INTEL_fpga_latency_control -o %t.spv +; RUN: llvm-spirv %s --spirv-ext=+SPV_INTEL_fpga_latency_control -o %t.spv ; RUN: llvm-spirv %t.spv -to-text -o %t.spt ; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV diff --git a/test/extensions/INTEL/SPV_INTEL_fpga_loop_controls/FPGALoopMergeInst.ll b/test/extensions/INTEL/SPV_INTEL_fpga_loop_controls/FPGALoopMergeInst.ll index bf0f896f47..a7b9fe3d98 100644 --- a/test/extensions/INTEL/SPV_INTEL_fpga_loop_controls/FPGALoopMergeInst.ll +++ b/test/extensions/INTEL/SPV_INTEL_fpga_loop_controls/FPGALoopMergeInst.ll @@ -106,8 +106,7 @@ ; (!"llvm.loop.ivdep.*" <-> LoopControlDependency*Mask) ; into a separate test file -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -spirv-ext=+SPV_INTEL_fpga_loop_controls,+SPV_INTEL_unstructured_loop_controls -o %t.spv +; RUN: llvm-spirv %s -spirv-ext=+SPV_INTEL_fpga_loop_controls,+SPV_INTEL_unstructured_loop_controls -o %t.spv ; RUN: llvm-spirv %t.spv --to-text -o %t.spt ; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV diff --git a/test/extensions/INTEL/SPV_INTEL_fpga_memory_accesses/IntelFPGAMemoryAccesses.ll b/test/extensions/INTEL/SPV_INTEL_fpga_memory_accesses/IntelFPGAMemoryAccesses.ll index 7405618de6..fe7653fa1e 100644 --- a/test/extensions/INTEL/SPV_INTEL_fpga_memory_accesses/IntelFPGAMemoryAccesses.ll +++ b/test/extensions/INTEL/SPV_INTEL_fpga_memory_accesses/IntelFPGAMemoryAccesses.ll @@ -41,8 +41,7 @@ ; return 0; ; } -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_INTEL_fpga_memory_accesses -o %t.spv +; RUN: llvm-spirv %s --spirv-ext=+SPV_INTEL_fpga_memory_accesses -o %t.spv ; RUN: llvm-spirv %t.spv -to-text -o - | FileCheck %s --check-prefix=CHECK-SPIRV ; RUN: llvm-spirv -r %t.spv -o %t.rev.bc diff --git a/test/extensions/INTEL/SPV_INTEL_fpga_memory_accesses/fpga_lsu_function_call.ll b/test/extensions/INTEL/SPV_INTEL_fpga_memory_accesses/fpga_lsu_function_call.ll index bfa1c467ea..77dd08722c 100644 --- a/test/extensions/INTEL/SPV_INTEL_fpga_memory_accesses/fpga_lsu_function_call.ll +++ b/test/extensions/INTEL/SPV_INTEL_fpga_memory_accesses/fpga_lsu_function_call.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_INTEL_fpga_memory_accesses -o %t.spv +; RUN: llvm-spirv %s --spirv-ext=+SPV_INTEL_fpga_memory_accesses -o %t.spv ; RUN: llvm-spirv %t.spv -to-text -o - | FileCheck %s --check-prefix=CHECK-SPIRV ; RUN: llvm-spirv -r %t.spv -o %t.rev.bc diff --git a/test/extensions/INTEL/SPV_INTEL_fpga_memory_accesses/intel_fpga_lsu_optimized.ll b/test/extensions/INTEL/SPV_INTEL_fpga_memory_accesses/intel_fpga_lsu_optimized.ll index 60f8173eb4..5c6baae2fe 100644 --- a/test/extensions/INTEL/SPV_INTEL_fpga_memory_accesses/intel_fpga_lsu_optimized.ll +++ b/test/extensions/INTEL/SPV_INTEL_fpga_memory_accesses/intel_fpga_lsu_optimized.ll @@ -49,8 +49,7 @@ ; } ; Check that translation of optimized IR doesn't crash: -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_INTEL_fpga_memory_accesses -o %t.spv +; RUN: llvm-spirv %s --spirv-ext=+SPV_INTEL_fpga_memory_accesses -o %t.spv ; Check that reverse translation restore ptr.annotations correctly: ; RUN: llvm-spirv -r %t.spv -o %t.rev.bc diff --git a/test/extensions/INTEL/SPV_INTEL_fpga_memory_attributes/IntelFPGAMemoryAttributesForStaticVar.ll b/test/extensions/INTEL/SPV_INTEL_fpga_memory_attributes/IntelFPGAMemoryAttributesForStaticVar.ll index b6d67a7e03..b5daf83278 100644 --- a/test/extensions/INTEL/SPV_INTEL_fpga_memory_attributes/IntelFPGAMemoryAttributesForStaticVar.ll +++ b/test/extensions/INTEL/SPV_INTEL_fpga_memory_attributes/IntelFPGAMemoryAttributesForStaticVar.ll @@ -39,8 +39,7 @@ ; LLVM IR compilation command: ; clang -cc1 -triple spir -disable-llvm-passes -fsycl-is-device -emit-llvm intel-fpga-local-var.cpp -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_INTEL_fpga_memory_attributes -o %t.spv +; RUN: llvm-spirv %s --spirv-ext=+SPV_INTEL_fpga_memory_attributes -o %t.spv ; RUN: llvm-spirv %t.spv -to-text -o - | FileCheck %s --check-prefix=CHECK-SPIRV ; RUN: llvm-spirv -r %t.spv -o %t.rev.bc diff --git a/test/extensions/INTEL/SPV_INTEL_fpga_memory_attributes/IntelFPGAMemoryINTELMultiDecoration.ll b/test/extensions/INTEL/SPV_INTEL_fpga_memory_attributes/IntelFPGAMemoryINTELMultiDecoration.ll index 012b2eeff8..cf3cd36988 100644 --- a/test/extensions/INTEL/SPV_INTEL_fpga_memory_attributes/IntelFPGAMemoryINTELMultiDecoration.ll +++ b/test/extensions/INTEL/SPV_INTEL_fpga_memory_attributes/IntelFPGAMemoryINTELMultiDecoration.ll @@ -1,8 +1,7 @@ ; Test checks that MemoryINTEL decoration can be applied twice on a single ; variable -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_INTEL_fpga_memory_attributes -o %t.spv +; RUN: llvm-spirv %s --spirv-ext=+SPV_INTEL_fpga_memory_attributes -o %t.spv ; RUN: llvm-spirv %t.spv -to-text -o %t.spt ; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV ; RUN: llvm-spirv -r %t.spv --spirv-target-env=SPV-IR -o %t.rev.bc diff --git a/test/extensions/INTEL/SPV_INTEL_fpga_reg/IntelFPGAReg.ll b/test/extensions/INTEL/SPV_INTEL_fpga_reg/IntelFPGAReg.ll index 2d623b5d99..a1a5ad9c9f 100644 --- a/test/extensions/INTEL/SPV_INTEL_fpga_reg/IntelFPGAReg.ll +++ b/test/extensions/INTEL/SPV_INTEL_fpga_reg/IntelFPGAReg.ll @@ -54,9 +54,8 @@ ; A ca(213); ; A cb = __builtin_intel_fpga_reg(ca); -; RUN: llvm-as %s -o %t.bc ; FIXME: add more negative test cases -; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_INTEL_fpga_reg -o %t.spv +; RUN: llvm-spirv %s --spirv-ext=+SPV_INTEL_fpga_reg -o %t.spv ; RUN: llvm-spirv %t.spv -to-text -o %t.spt ; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV diff --git a/test/extensions/INTEL/SPV_INTEL_function_pointers/CodeSectionINTEL/bitcast.ll b/test/extensions/INTEL/SPV_INTEL_function_pointers/CodeSectionINTEL/bitcast.ll index 0d71b99cc6..278163426d 100644 --- a/test/extensions/INTEL/SPV_INTEL_function_pointers/CodeSectionINTEL/bitcast.ll +++ b/test/extensions/INTEL/SPV_INTEL_function_pointers/CodeSectionINTEL/bitcast.ll @@ -7,8 +7,7 @@ ; fun_ptr(0); ; } -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -spirv-ext=+SPV_INTEL_function_pointers -o %t.spv +; RUN: llvm-spirv %s -spirv-ext=+SPV_INTEL_function_pointers -o %t.spv ; RUN: llvm-spirv %t.spv -to-text -o %t.spt ; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV ; RUN: llvm-spirv -r -spirv-emit-function-ptr-addr-space %t.spv -o %t.r.bc diff --git a/test/extensions/INTEL/SPV_INTEL_function_pointers/CodeSectionINTEL/const-function-pointer.ll b/test/extensions/INTEL/SPV_INTEL_function_pointers/CodeSectionINTEL/const-function-pointer.ll index 07d46b43dc..2e6c7fd879 100644 --- a/test/extensions/INTEL/SPV_INTEL_function_pointers/CodeSectionINTEL/const-function-pointer.ll +++ b/test/extensions/INTEL/SPV_INTEL_function_pointers/CodeSectionINTEL/const-function-pointer.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_INTEL_function_pointers -o %t.spv +; RUN: llvm-spirv %s --spirv-ext=+SPV_INTEL_function_pointers -o %t.spv ; RUN: llvm-spirv %t.spv -to-text -o - | FileCheck %s --check-prefix=CHECK-SPIRV ; RUN: llvm-spirv -r -spirv-emit-function-ptr-addr-space %t.spv -o %t.r.bc ; RUN: llvm-dis %t.r.bc -o %t.r.ll diff --git a/test/extensions/INTEL/SPV_INTEL_function_pointers/CodeSectionINTEL/decor-func-ptr-arg-attr.ll b/test/extensions/INTEL/SPV_INTEL_function_pointers/CodeSectionINTEL/decor-func-ptr-arg-attr.ll index 2cd88334f5..2f16d7a20e 100644 --- a/test/extensions/INTEL/SPV_INTEL_function_pointers/CodeSectionINTEL/decor-func-ptr-arg-attr.ll +++ b/test/extensions/INTEL/SPV_INTEL_function_pointers/CodeSectionINTEL/decor-func-ptr-arg-attr.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -o %t.spt -spirv-text -spirv-ext=+SPV_INTEL_function_pointers +; RUN: llvm-spirv %s -o %t.spt -spirv-text -spirv-ext=+SPV_INTEL_function_pointers ; RUN: FileCheck < %t.spt %s --check-prefix CHECK-SPIRV ; RUN: llvm-spirv %t.spt -o %t.spv -to-binary diff --git a/test/extensions/INTEL/SPV_INTEL_function_pointers/CodeSectionINTEL/gv-func-ptr.ll b/test/extensions/INTEL/SPV_INTEL_function_pointers/CodeSectionINTEL/gv-func-ptr.ll index 8d5b3b8e9b..b580d1bbf9 100644 --- a/test/extensions/INTEL/SPV_INTEL_function_pointers/CodeSectionINTEL/gv-func-ptr.ll +++ b/test/extensions/INTEL/SPV_INTEL_function_pointers/CodeSectionINTEL/gv-func-ptr.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -spirv-ext=+SPV_INTEL_function_pointers -o %t.spv +; RUN: llvm-spirv %s -spirv-ext=+SPV_INTEL_function_pointers -o %t.spv ; RUN: llvm-spirv -r -spirv-emit-function-ptr-addr-space %t.spv -o %t.r.bc ; RUN: llvm-dis %t.r.bc -o %t.r.ll ; RUN: FileCheck < %t.r.ll %s --check-prefix=CHECK-LLVM diff --git a/test/extensions/INTEL/SPV_INTEL_function_pointers/CodeSectionINTEL/select.ll b/test/extensions/INTEL/SPV_INTEL_function_pointers/CodeSectionINTEL/select.ll index cd5f3a7886..9670843081 100644 --- a/test/extensions/INTEL/SPV_INTEL_function_pointers/CodeSectionINTEL/select.ll +++ b/test/extensions/INTEL/SPV_INTEL_function_pointers/CodeSectionINTEL/select.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_INTEL_function_pointers -o %t.spv +; RUN: llvm-spirv %s --spirv-ext=+SPV_INTEL_function_pointers -o %t.spv ; RUN: llvm-spirv %t.spv -to-text -o %t.spt ; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV ; RUN: llvm-spirv -r -spirv-emit-function-ptr-addr-space %t.spv -o %t.r.bc diff --git a/test/extensions/INTEL/SPV_INTEL_function_pointers/bitcast.ll b/test/extensions/INTEL/SPV_INTEL_function_pointers/bitcast.ll index bdf6c1573a..e963fabae1 100644 --- a/test/extensions/INTEL/SPV_INTEL_function_pointers/bitcast.ll +++ b/test/extensions/INTEL/SPV_INTEL_function_pointers/bitcast.ll @@ -7,8 +7,7 @@ ; fun_ptr(0); ; } -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -spirv-ext=+SPV_INTEL_function_pointers -o %t.spv +; RUN: llvm-spirv %s -spirv-ext=+SPV_INTEL_function_pointers -o %t.spv ; RUN: llvm-spirv %t.spv -to-text -o %t.spt ; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV ; RUN: llvm-spirv -r %t.spv -o %t.r.bc diff --git a/test/extensions/INTEL/SPV_INTEL_function_pointers/const-function-pointer.ll b/test/extensions/INTEL/SPV_INTEL_function_pointers/const-function-pointer.ll index 6a3e9d14c6..12b3224813 100644 --- a/test/extensions/INTEL/SPV_INTEL_function_pointers/const-function-pointer.ll +++ b/test/extensions/INTEL/SPV_INTEL_function_pointers/const-function-pointer.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_INTEL_function_pointers -o %t.spv +; RUN: llvm-spirv %s --spirv-ext=+SPV_INTEL_function_pointers -o %t.spv ; RUN: llvm-spirv %t.spv -to-text -o - | FileCheck %s --check-prefix=CHECK-SPIRV ; RUN: llvm-spirv -r %t.spv -o %t.r.bc ; RUN: llvm-dis %t.r.bc -o %t.r.ll diff --git a/test/extensions/INTEL/SPV_INTEL_function_pointers/decor-func-ptr-arg-attr.ll b/test/extensions/INTEL/SPV_INTEL_function_pointers/decor-func-ptr-arg-attr.ll index 99f5fbc7d7..5a7c50559f 100644 --- a/test/extensions/INTEL/SPV_INTEL_function_pointers/decor-func-ptr-arg-attr.ll +++ b/test/extensions/INTEL/SPV_INTEL_function_pointers/decor-func-ptr-arg-attr.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -o %t.spt -spirv-text -spirv-ext=+SPV_INTEL_function_pointers +; RUN: llvm-spirv %s -o %t.spt -spirv-text -spirv-ext=+SPV_INTEL_function_pointers ; RUN: FileCheck < %t.spt %s --check-prefix CHECK-SPIRV ; RUN: llvm-spirv %t.spt -o %t.spv -to-binary diff --git a/test/extensions/INTEL/SPV_INTEL_function_pointers/gv-func-ptr.ll b/test/extensions/INTEL/SPV_INTEL_function_pointers/gv-func-ptr.ll index 03ff7c2159..324cf473d5 100644 --- a/test/extensions/INTEL/SPV_INTEL_function_pointers/gv-func-ptr.ll +++ b/test/extensions/INTEL/SPV_INTEL_function_pointers/gv-func-ptr.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -spirv-ext=+SPV_INTEL_function_pointers -o %t.spv +; RUN: llvm-spirv %s -spirv-ext=+SPV_INTEL_function_pointers -o %t.spv ; RUN: llvm-spirv -r %t.spv -o %t.r.bc ; RUN: llvm-dis %t.r.bc -o %t.r.ll ; RUN: FileCheck < %t.r.ll %s --check-prefix=CHECK-LLVM diff --git a/test/extensions/INTEL/SPV_INTEL_function_pointers/select.ll b/test/extensions/INTEL/SPV_INTEL_function_pointers/select.ll index 392d467500..79fde9077d 100644 --- a/test/extensions/INTEL/SPV_INTEL_function_pointers/select.ll +++ b/test/extensions/INTEL/SPV_INTEL_function_pointers/select.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_INTEL_function_pointers -o %t.spv +; RUN: llvm-spirv %s --spirv-ext=+SPV_INTEL_function_pointers -o %t.spv ; RUN: llvm-spirv %t.spv -to-text -o %t.spt ; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV ; RUN: llvm-spirv -r %t.spv -o %t.r.bc diff --git a/test/extensions/INTEL/SPV_INTEL_io_pipes/PipeStorageIOINTEL.ll b/test/extensions/INTEL/SPV_INTEL_io_pipes/PipeStorageIOINTEL.ll index cc9f7a5219..36fe123ae0 100644 --- a/test/extensions/INTEL/SPV_INTEL_io_pipes/PipeStorageIOINTEL.ll +++ b/test/extensions/INTEL/SPV_INTEL_io_pipes/PipeStorageIOINTEL.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_INTEL_io_pipes -o %t.spv +; RUN: llvm-spirv %s --spirv-ext=+SPV_INTEL_io_pipes -o %t.spv ; RUN: llvm-spirv %t.spv -to-text -o %t.spt ; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV diff --git a/test/extensions/INTEL/SPV_INTEL_kernel_attributes/intel_fpga_function_attributes.ll b/test/extensions/INTEL/SPV_INTEL_kernel_attributes/intel_fpga_function_attributes.ll index b8e56a78ed..b301c7d1c7 100644 --- a/test/extensions/INTEL/SPV_INTEL_kernel_attributes/intel_fpga_function_attributes.ll +++ b/test/extensions/INTEL/SPV_INTEL_kernel_attributes/intel_fpga_function_attributes.ll @@ -24,8 +24,7 @@ ;; kernel([]() [[intel::no_global_work_offset(0)]]{}); ;; } -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_INTEL_kernel_attributes,+SPV_INTEL_fpga_cluster_attributes,+SPV_INTEL_loop_fuse,+SPV_INTEL_fpga_invocation_pipelining_attributes -o %t.spv +; RUN: llvm-spirv %s --spirv-ext=+SPV_INTEL_kernel_attributes,+SPV_INTEL_fpga_cluster_attributes,+SPV_INTEL_loop_fuse,+SPV_INTEL_fpga_invocation_pipelining_attributes -o %t.spv ; RUN: llvm-spirv %t.spv -to-text -o %t.spt ; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV diff --git a/test/extensions/INTEL/SPV_INTEL_kernel_attributes/max_work_group_size.ll b/test/extensions/INTEL/SPV_INTEL_kernel_attributes/max_work_group_size.ll index d4e0d053da..e74e4d46f2 100644 --- a/test/extensions/INTEL/SPV_INTEL_kernel_attributes/max_work_group_size.ll +++ b/test/extensions/INTEL/SPV_INTEL_kernel_attributes/max_work_group_size.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_INTEL_kernel_attributes -o %t.spv +; RUN: llvm-spirv %s --spirv-ext=+SPV_INTEL_kernel_attributes -o %t.spv ; RUN: llvm-spirv %t.spv -to-text -o %t.spt ; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV diff --git a/test/extensions/INTEL/SPV_INTEL_kernel_attributes/register_map_interface_attribute.ll b/test/extensions/INTEL/SPV_INTEL_kernel_attributes/register_map_interface_attribute.ll index 1878e24399..bcbfcbe07f 100644 --- a/test/extensions/INTEL/SPV_INTEL_kernel_attributes/register_map_interface_attribute.ll +++ b/test/extensions/INTEL/SPV_INTEL_kernel_attributes/register_map_interface_attribute.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_INTEL_kernel_attributes -o %t.spv +; RUN: llvm-spirv %s --spirv-ext=+SPV_INTEL_kernel_attributes -o %t.spv ; RUN: llvm-spirv %t.spv -to-text -o %t.spt ; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV diff --git a/test/extensions/INTEL/SPV_INTEL_kernel_attributes/streaming_interface_attribute.ll b/test/extensions/INTEL/SPV_INTEL_kernel_attributes/streaming_interface_attribute.ll index 6b1d1eab59..5f762407e0 100644 --- a/test/extensions/INTEL/SPV_INTEL_kernel_attributes/streaming_interface_attribute.ll +++ b/test/extensions/INTEL/SPV_INTEL_kernel_attributes/streaming_interface_attribute.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_INTEL_kernel_attributes -o %t.spv +; RUN: llvm-spirv %s --spirv-ext=+SPV_INTEL_kernel_attributes -o %t.spv ; RUN: llvm-spirv %t.spv -to-text -o %t.spt ; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV diff --git a/test/extensions/INTEL/SPV_INTEL_runtime_aligned/RuntimeAligned.ll b/test/extensions/INTEL/SPV_INTEL_runtime_aligned/RuntimeAligned.ll index 13db4ef31b..af4e16f231 100644 --- a/test/extensions/INTEL/SPV_INTEL_runtime_aligned/RuntimeAligned.ll +++ b/test/extensions/INTEL/SPV_INTEL_runtime_aligned/RuntimeAligned.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_INTEL_runtime_aligned -o %t.spv +; RUN: llvm-spirv %s --spirv-ext=+SPV_INTEL_runtime_aligned -o %t.spv ; RUN: llvm-spirv %t.spv -to-text -o %t.spt ; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV diff --git a/test/extensions/INTEL/SPV_INTEL_shader_atomic_bfloat16/AtomicFAddEXT.ll b/test/extensions/INTEL/SPV_INTEL_shader_atomic_bfloat16/AtomicFAddEXT.ll index 8404eca200..48eea8ad24 100644 --- a/test/extensions/INTEL/SPV_INTEL_shader_atomic_bfloat16/AtomicFAddEXT.ll +++ b/test/extensions/INTEL/SPV_INTEL_shader_atomic_bfloat16/AtomicFAddEXT.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_INTEL_shader_atomic_bfloat16,+SPV_KHR_bfloat16 -o %t.spv +; RUN: llvm-spirv %s --spirv-ext=+SPV_INTEL_shader_atomic_bfloat16,+SPV_KHR_bfloat16 -o %t.spv ; RUN: llvm-spirv -to-text %t.spv -o %t.spt ; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV diff --git a/test/extensions/INTEL/SPV_INTEL_shader_atomic_bfloat16/AtomicFMaxEXT.ll b/test/extensions/INTEL/SPV_INTEL_shader_atomic_bfloat16/AtomicFMaxEXT.ll index 4f13394f85..ad746757bf 100644 --- a/test/extensions/INTEL/SPV_INTEL_shader_atomic_bfloat16/AtomicFMaxEXT.ll +++ b/test/extensions/INTEL/SPV_INTEL_shader_atomic_bfloat16/AtomicFMaxEXT.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_INTEL_shader_atomic_bfloat16,+SPV_KHR_bfloat16 -o %t.spv +; RUN: llvm-spirv %s --spirv-ext=+SPV_INTEL_shader_atomic_bfloat16,+SPV_KHR_bfloat16 -o %t.spv ; RUN: llvm-spirv -to-text %t.spv -o %t.spt ; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV diff --git a/test/extensions/INTEL/SPV_INTEL_shader_atomic_bfloat16/AtomicFMinEXT.ll b/test/extensions/INTEL/SPV_INTEL_shader_atomic_bfloat16/AtomicFMinEXT.ll index 0a2a89455b..0d1f0068a7 100644 --- a/test/extensions/INTEL/SPV_INTEL_shader_atomic_bfloat16/AtomicFMinEXT.ll +++ b/test/extensions/INTEL/SPV_INTEL_shader_atomic_bfloat16/AtomicFMinEXT.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_INTEL_shader_atomic_bfloat16,+SPV_KHR_bfloat16 -o %t.spv +; RUN: llvm-spirv %s --spirv-ext=+SPV_INTEL_shader_atomic_bfloat16,+SPV_KHR_bfloat16 -o %t.spv ; RUN: llvm-spirv -to-text %t.spv -o %t.spt ; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV diff --git a/test/extensions/INTEL/SPV_INTEL_task_sequence/sret-get.ll b/test/extensions/INTEL/SPV_INTEL_task_sequence/sret-get.ll index af966d72b4..19b9953225 100644 --- a/test/extensions/INTEL/SPV_INTEL_task_sequence/sret-get.ll +++ b/test/extensions/INTEL/SPV_INTEL_task_sequence/sret-get.ll @@ -1,7 +1,6 @@ ; Test translation of __spirv_TaskSequenceGetINTEL with a sret (structure return) parameter. -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_INTEL_task_sequence -o %t.spv +; RUN: llvm-spirv %s --spirv-ext=+SPV_INTEL_task_sequence -o %t.spv ; RUN: llvm-spirv %t.spv -to-text -o %t.spt ; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV diff --git a/test/extensions/INTEL/SPV_INTEL_task_sequence/void-get.ll b/test/extensions/INTEL/SPV_INTEL_task_sequence/void-get.ll index bf3e884dd8..3d693842f2 100644 --- a/test/extensions/INTEL/SPV_INTEL_task_sequence/void-get.ll +++ b/test/extensions/INTEL/SPV_INTEL_task_sequence/void-get.ll @@ -1,7 +1,6 @@ ; Test translation of __spirv_TaskSequenceGetINTEL with void return type. -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_INTEL_task_sequence -o %t.spv +; RUN: llvm-spirv %s --spirv-ext=+SPV_INTEL_task_sequence -o %t.spv ; RUN: llvm-spirv %t.spv -to-text -o %t.spt ; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV diff --git a/test/extensions/INTEL/SPV_INTEL_unstructured_loop_controls/InfiniteLoopMetadataPlacement.ll b/test/extensions/INTEL/SPV_INTEL_unstructured_loop_controls/InfiniteLoopMetadataPlacement.ll index 0edc362faf..f08ce3a45b 100644 --- a/test/extensions/INTEL/SPV_INTEL_unstructured_loop_controls/InfiniteLoopMetadataPlacement.ll +++ b/test/extensions/INTEL/SPV_INTEL_unstructured_loop_controls/InfiniteLoopMetadataPlacement.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv --spirv-ext=+SPV_INTEL_unstructured_loop_controls %t.bc -o %t.spv +; RUN: llvm-spirv --spirv-ext=+SPV_INTEL_unstructured_loop_controls %s -o %t.spv ; RUN: llvm-spirv %t.spv --to-text -o - | FileCheck %s --check-prefix=CHECK-SPV ; RUN: llvm-spirv -r %t.spv -o %t.rev.bc diff --git a/test/extensions/KHR/SPV_KHR_bfloat16/bfloat16_dot.ll b/test/extensions/KHR/SPV_KHR_bfloat16/bfloat16_dot.ll index bbf62aaddf..687c1e444c 100644 --- a/test/extensions/KHR/SPV_KHR_bfloat16/bfloat16_dot.ll +++ b/test/extensions/KHR/SPV_KHR_bfloat16/bfloat16_dot.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_KHR_bfloat16 -o %t.spv +; RUN: llvm-spirv %s --spirv-ext=+SPV_KHR_bfloat16 -o %t.spv ; RUN: llvm-spirv %t.spv -to-text -o - | FileCheck %s --check-prefix=CHECK-SPIRV ; RUN: llvm-spirv -r %t.spv -o %t.rev.bc diff --git a/test/extensions/KHR/SPV_KHR_untyped_pointers/untyped_ptr_type.ll b/test/extensions/KHR/SPV_KHR_untyped_pointers/untyped_ptr_type.ll index 4ca85742fc..e0fc0968d0 100644 --- a/test/extensions/KHR/SPV_KHR_untyped_pointers/untyped_ptr_type.ll +++ b/test/extensions/KHR/SPV_KHR_untyped_pointers/untyped_ptr_type.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -o %t.spv --spirv-ext=+SPV_KHR_untyped_pointers +; RUN: llvm-spirv %s -o %t.spv --spirv-ext=+SPV_KHR_untyped_pointers ; RUN: spirv-val %t.spv diff --git a/test/freeze.ll b/test/freeze.ll index c26c003bbc..feaeb75518 100644 --- a/test/freeze.ll +++ b/test/freeze.ll @@ -1,6 +1,5 @@ ;; Test to check that freeze instruction does not cause a crash -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -o %t.spv +; RUN: llvm-spirv %s -o %t.spv ; RUN: llvm-spirv -r %t.spv -o %t.rev.bc ; All freeze instructions should be deleted and uses of freeze's result should be replaced ; with freeze's source or a random constant if freeze's source is poison or undef. diff --git a/test/gep-operand-source-mismatch.ll b/test/gep-operand-source-mismatch.ll index ce8d44f9f2..3ff4ce7de9 100644 --- a/test/gep-operand-source-mismatch.ll +++ b/test/gep-operand-source-mismatch.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -o %t.spv +; RUN: llvm-spirv %s -o %t.spv ; RUN: spirv-val %t.spv ; RUN: llvm-spirv %t.spv -o %t.spt --to-text ; RUN: llvm-spirv -r %t.spv -o %t.rev.bc diff --git a/test/iaddcarry_builtin.ll b/test/iaddcarry_builtin.ll index ff87061560..a21450ae55 100644 --- a/test/iaddcarry_builtin.ll +++ b/test/iaddcarry_builtin.ll @@ -1,6 +1,5 @@ ; REQUIRES: spirv-dis -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -o %t.spv +; RUN: llvm-spirv %s -o %t.spv ; RUN: spirv-dis --raw-id %t.spv | FileCheck --check-prefix CHECK-SPIRV %s ; RUN: spirv-val %t.spv ; RUN: llvm-spirv -r %t.spv -o %t.rev.bc diff --git a/test/isubborrow_builtin.ll b/test/isubborrow_builtin.ll index 57749a9c5c..8d72eb3f7a 100644 --- a/test/isubborrow_builtin.ll +++ b/test/isubborrow_builtin.ll @@ -1,6 +1,5 @@ ; REQUIRES: spirv-dis -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -o %t.spv +; RUN: llvm-spirv %s -o %t.spv ; RUN: spirv-dis --raw-id %t.spv | FileCheck --check-prefix CHECK-SPIRV %s ; RUN: spirv-val %t.spv ; RUN: llvm-spirv -r %t.spv -o %t.rev.bc diff --git a/test/llvm-intrinsics/bswap.ll b/test/llvm-intrinsics/bswap.ll index 3fecad138e..0dafc0e0ca 100644 --- a/test/llvm-intrinsics/bswap.ll +++ b/test/llvm-intrinsics/bswap.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv -spirv-text %t.bc -o %t.spt +; RUN: llvm-spirv -spirv-text %s -o %t.spt ; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV ; RUN: llvm-spirv -to-binary %t.spt -o %t.spv ; RUN: llvm-spirv -r %t.spv -o %t.rev.bc diff --git a/test/llvm-intrinsics/experimental.noalias.scope.decl.ll b/test/llvm-intrinsics/experimental.noalias.scope.decl.ll index 3316d9c746..949c1bc637 100644 --- a/test/llvm-intrinsics/experimental.noalias.scope.decl.ll +++ b/test/llvm-intrinsics/experimental.noalias.scope.decl.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -o %t.spv +; RUN: llvm-spirv %s -o %t.spv ; RUN: llvm-spirv -r %t.spv -o %t.rev.bc ; RUN: llvm-dis < %t.rev.bc | FileCheck %s diff --git a/test/llvm-intrinsics/uadd.with.overflow.ll b/test/llvm-intrinsics/uadd.with.overflow.ll index 1a6897789e..8df782a63d 100644 --- a/test/llvm-intrinsics/uadd.with.overflow.ll +++ b/test/llvm-intrinsics/uadd.with.overflow.ll @@ -1,6 +1,5 @@ ; REQUIRES: spirv-dis -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -o %t.spv +; RUN: llvm-spirv %s -o %t.spv ; RUN: spirv-dis --raw-id %t.spv | FileCheck --check-prefix CHECK-SPIRV %s ; RUN: spirv-val %t.spv ; RUN: llvm-spirv -r -o %t.rev.bc %t.spv diff --git a/test/llvm-intrinsics/usub.with.overflow.ll b/test/llvm-intrinsics/usub.with.overflow.ll index 1e18ad1479..1ab75f86fd 100644 --- a/test/llvm-intrinsics/usub.with.overflow.ll +++ b/test/llvm-intrinsics/usub.with.overflow.ll @@ -1,6 +1,5 @@ ; REQUIRES: spirv-dis -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -o %t.spv +; RUN: llvm-spirv %s -o %t.spv ; RUN: spirv-dis --raw-id %t.spv | FileCheck --check-prefix CHECK-SPIRV %s ; RUN: spirv-val %t.spv ; RUN: llvm-spirv -r -o %t.rev.bc %t.spv diff --git a/test/llvm.is.constant.ll b/test/llvm.is.constant.ll index 20e3119d2d..b4c49fe081 100644 --- a/test/llvm.is.constant.ll +++ b/test/llvm.is.constant.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -o %t.spv +; RUN: llvm-spirv %s -o %t.spv ; RUN: llvm-spirv -r %t.spv -o %t_recover.bc ; RUN: llvm-dis %t_recover.bc -o - | FileCheck %s diff --git a/test/local_var_keeps_external.ll b/test/local_var_keeps_external.ll index 924f5b88b5..c88202d9b2 100644 --- a/test/local_var_keeps_external.ll +++ b/test/local_var_keeps_external.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -o %t.spv +; RUN: llvm-spirv %s -o %t.spv ; RUN: llvm-spirv -r %t.spv -o %t.rev.bc ; RUN: llvm-dis %t.rev.bc -o %t.rev.ll ; RUN: FileCheck < %t.rev.ll %s --check-prefix CHECK-LLVM diff --git a/test/smulextended_builtin.ll b/test/smulextended_builtin.ll index 1a187b718f..697e30b93c 100644 --- a/test/smulextended_builtin.ll +++ b/test/smulextended_builtin.ll @@ -1,6 +1,5 @@ ; REQUIRES: spirv-dis -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -o %t.spv +; RUN: llvm-spirv %s -o %t.spv ; RUN: spirv-dis --raw-id %t.spv -o %t.spvasm ; RUN: FileCheck < %t.spvasm --check-prefix CHECK-SPIRV %s ; RUN: spirv-val %t.spv diff --git a/test/transcoding/CommonAddrspaceGlobalVar.ll b/test/transcoding/CommonAddrspaceGlobalVar.ll index dfec2e006d..777b05c726 100644 --- a/test/transcoding/CommonAddrspaceGlobalVar.ll +++ b/test/transcoding/CommonAddrspaceGlobalVar.ll @@ -1,8 +1,7 @@ ; Ensure that a "common global" is not converted to a locally allocated ; variable when translated to SPIR-V and back to LLVM. -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -o %t.spv +; RUN: llvm-spirv %s -o %t.spv ; RUN: llvm-spirv -r %t.spv -o %t.rev.bc ; RUN: llvm-dis < %t.rev.bc | FileCheck %s --check-prefix=CHECK-LLVM diff --git a/test/transcoding/DecorationAlignment.ll b/test/transcoding/DecorationAlignment.ll index 829c6442b8..05bb2de8e8 100644 --- a/test/transcoding/DecorationAlignment.ll +++ b/test/transcoding/DecorationAlignment.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -o %t.spv +; RUN: llvm-spirv %s -o %t.spv ; RUN: llvm-spirv %t.spv -to-text -o - | FileCheck %s --check-prefix=CHECK-SPIRV ; RUN: llvm-spirv -r %t.spv -o %t.rev.bc ; RUN: llvm-dis < %t.rev.bc | FileCheck %s --check-prefix=CHECK-LLVM diff --git a/test/transcoding/GlobalFunAnnotate.ll b/test/transcoding/GlobalFunAnnotate.ll index aa46944118..a6c451826f 100644 --- a/test/transcoding/GlobalFunAnnotate.ll +++ b/test/transcoding/GlobalFunAnnotate.ll @@ -1,5 +1,4 @@ -;RUN: llvm-as %s -o %t.bc -;RUN: llvm-spirv %t.bc -o %t.spv +;RUN: llvm-spirv %s -o %t.spv ;RUN: llvm-spirv %t.spv -to-text -o - | FileCheck %s --check-prefix=CHECK-SPIRV ;RUN: llvm-spirv -r %t.spv -o %t.rev.bc ;RUN: llvm-dis %t.rev.bc -o - | FileCheck %s --check-prefix=CHECK-LLVM diff --git a/test/transcoding/OpLessOrGreater.ll b/test/transcoding/OpLessOrGreater.ll index fc885c68a1..4734b35467 100644 --- a/test/transcoding/OpLessOrGreater.ll +++ b/test/transcoding/OpLessOrGreater.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -o %t.spv +; RUN: llvm-spirv %s -o %t.spv ; RUN: llvm-spirv %t.spv -to-text -o %t.spt ; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV ; RUN: spirv-val %t.spv diff --git a/test/transcoding/OpenCL/convert_functions.ll b/test/transcoding/OpenCL/convert_functions.ll index 786144bada..c3ff2b784f 100644 --- a/test/transcoding/OpenCL/convert_functions.ll +++ b/test/transcoding/OpenCL/convert_functions.ll @@ -2,8 +2,7 @@ ; OpenCL builtins only in case they match the specification. Otherwise, we ; expect such functions to be translated to SPIR-V FunctionCall. -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -o %t.spv +; RUN: llvm-spirv %s -o %t.spv ; RUN: spirv-val %t.spv ; RUN: llvm-spirv %t.spv -to-text -o %t.spt ; RUN: FileCheck < %t.spt %s -check-prefix=CHECK-SPIRV diff --git a/test/transcoding/OpenCL/nan.ll b/test/transcoding/OpenCL/nan.ll index ce2d96cb65..14bcad28f0 100644 --- a/test/transcoding/OpenCL/nan.ll +++ b/test/transcoding/OpenCL/nan.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -o %t.spv +; RUN: llvm-spirv %s -o %t.spv ; RUN: llvm-spirv %t.spv -to-text -o %t.spt ; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV diff --git a/test/transcoding/OpenCL/shuffle.ll b/test/transcoding/OpenCL/shuffle.ll index 584e7af558..3e3eaf1e8a 100644 --- a/test/transcoding/OpenCL/shuffle.ll +++ b/test/transcoding/OpenCL/shuffle.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -o %t.spv +; RUN: llvm-spirv %s -o %t.spv ; RUN: llvm-spirv %t.spv -to-text -o %t.spt ; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV diff --git a/test/transcoding/addrspace_global_annotations.ll b/test/transcoding/addrspace_global_annotations.ll index b675da8503..075708694d 100644 --- a/test/transcoding/addrspace_global_annotations.ll +++ b/test/transcoding/addrspace_global_annotations.ll @@ -2,8 +2,7 @@ ; Assertion `C->getType() == Ty->getElementType() && "Wrong type in array element initializer"' failed ; It also verifies that all the different address spaces were casted to the "common" one. -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc --spirv-ext=+SPV_INTEL_fpga_memory_attributes +; RUN: llvm-spirv %s --spirv-ext=+SPV_INTEL_fpga_memory_attributes -o %t.spv ; RUN: spirv-val %t.spv ; RUN: llvm-spirv -r %t.spv -o %t.rev.bc ; RUN: llvm-dis %t.rev.bc diff --git a/test/transcoding/builtin_vars_different_type.ll b/test/transcoding/builtin_vars_different_type.ll index 536348cc91..b6b33bb4a3 100644 --- a/test/transcoding/builtin_vars_different_type.ll +++ b/test/transcoding/builtin_vars_different_type.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -o %t.spv -spirv-ext=+SPV_INTEL_vector_compute +; RUN: llvm-spirv %s -o %t.spv -spirv-ext=+SPV_INTEL_vector_compute ; RUN: llvm-spirv -r %t.spv --spirv-target-env=SPV-IR -o %t.out.bc ; RUN: llvm-dis %t.out.bc -o - | FileCheck %s --check-prefix=CHECK-SPV-IR diff --git a/test/transcoding/builtin_vars_gep.ll b/test/transcoding/builtin_vars_gep.ll index ba90c5c10a..53b66090ce 100644 --- a/test/transcoding/builtin_vars_gep.ll +++ b/test/transcoding/builtin_vars_gep.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -o %t.spv +; RUN: llvm-spirv %s -o %t.spv ; RUN: llvm-spirv %t.spv -to-text -o - | FileCheck %s --check-prefix=CHECK-SPIRV ; RUN: spirv-val %t.spv ; RUN: llvm-spirv -r %t.spv -o %t.out.bc diff --git a/test/transcoding/check_ro_qualifier.ll b/test/transcoding/check_ro_qualifier.ll index 4ee78ff08b..b59f421ea0 100644 --- a/test/transcoding/check_ro_qualifier.ll +++ b/test/transcoding/check_ro_qualifier.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -o %t.spv +; RUN: llvm-spirv %s -o %t.spv ; RUN: spirv-val %t.spv ; RUN: llvm-spirv -r %t.spv -o %t.rev.bc ; RUN: llvm-dis < %t.rev.bc | FileCheck %s --check-prefix=CHECK-LLVM diff --git a/test/transcoding/check_wo_qualifier.ll b/test/transcoding/check_wo_qualifier.ll index 2c44aca1b5..1dd03311d4 100644 --- a/test/transcoding/check_wo_qualifier.ll +++ b/test/transcoding/check_wo_qualifier.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -o %t.spv +; RUN: llvm-spirv %s -o %t.spv ; RUN: spirv-val %t.spv ; RUN: llvm-spirv -r %t.spv -o %t.rev.bc ; RUN: llvm-dis < %t.rev.bc | FileCheck %s --check-prefix=CHECK-LLVM diff --git a/test/transcoding/dbginfo-bug-on-bool-converts.ll b/test/transcoding/dbginfo-bug-on-bool-converts.ll index 896de53fee..3cb2f5e313 100644 --- a/test/transcoding/dbginfo-bug-on-bool-converts.ll +++ b/test/transcoding/dbginfo-bug-on-bool-converts.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -o %t.spv +; RUN: llvm-spirv %s -o %t.spv ; RUN: llvm-spirv -r %t.spv -o %t.rev.bc ; RUN: llvm-dis < %t.rev.bc | FileCheck %s diff --git a/test/transcoding/fence_inst.ll b/test/transcoding/fence_inst.ll index c0a4feda34..cc95156a7f 100644 --- a/test/transcoding/fence_inst.ll +++ b/test/transcoding/fence_inst.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -o %t.spv +; RUN: llvm-spirv %s -o %t.spv ; RUN: llvm-spirv %t.spv -to-text -o %t.spt ; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV diff --git a/test/transcoding/image_builtins.ll b/test/transcoding/image_builtins.ll index d763d7ce20..57076d18c6 100644 --- a/test/transcoding/image_builtins.ll +++ b/test/transcoding/image_builtins.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -o %t.spv +; RUN: llvm-spirv %s -o %t.spv ; RUN: spirv-val %t.spv ; RUN: llvm-spirv -r %t.spv -o %t.rev.bc ; RUN: llvm-dis < %t.rev.bc | FileCheck %s --check-prefix=CHECK-LLVM diff --git a/test/transcoding/image_signedness.ll b/test/transcoding/image_signedness.ll index 8298596981..6509735ea0 100644 --- a/test/transcoding/image_signedness.ll +++ b/test/transcoding/image_signedness.ll @@ -1,7 +1,6 @@ ; Test that signedness of calls to read_image(u)i/write_image(u)i is preserved. -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -o %t.spv +; RUN: llvm-spirv %s -o %t.spv ; RUN: spirv-val %t.spv ; RUN: llvm-spirv -r %t.spv -o %t.rev.bc ; RUN: llvm-dis < %t.rev.bc | FileCheck %s --check-prefix=CHECK-LLVM diff --git a/test/transcoding/image_signedness_spv_ir.ll b/test/transcoding/image_signedness_spv_ir.ll index e050867864..0726257630 100644 --- a/test/transcoding/image_signedness_spv_ir.ll +++ b/test/transcoding/image_signedness_spv_ir.ll @@ -1,7 +1,6 @@ ; Test that signedness of calls to SPV-IR image builtin is preserved in SPIRV. -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -o %t.spv +; RUN: llvm-spirv %s -o %t.spv ; RUN: spirv-val %t.spv ; RUN: llvm-spirv -to-text %t.spv -o - | FileCheck %s --check-prefix=CHECK-SPIRV ; RUN: llvm-spirv -r --spirv-target-env=SPV-IR %t.spv -o %t.rev.bc diff --git a/test/transcoding/image_with_suffix.ll b/test/transcoding/image_with_suffix.ll index c847698dd1..6454b417e9 100644 --- a/test/transcoding/image_with_suffix.ll +++ b/test/transcoding/image_with_suffix.ll @@ -1,8 +1,7 @@ ; Test that an image type name suffixed with . does not crash the ; translator. -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -o %t.spv +; RUN: llvm-spirv %s -o %t.spv ; RUN: spirv-val %t.spv ; RUN: llvm-spirv -r %t.spv -o %t.rev.bc ; RUN: llvm-dis < %t.rev.bc | FileCheck %s --check-prefix=CHECK-LLVM diff --git a/test/transcoding/intrinsic_result_store.ll b/test/transcoding/intrinsic_result_store.ll index c27aae6151..67e9b26cec 100644 --- a/test/transcoding/intrinsic_result_store.ll +++ b/test/transcoding/intrinsic_result_store.ll @@ -1,8 +1,7 @@ ; Regression test for intrinsic calls' translation edge cases ; with subsequent store instructions. -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -o %t.spv +; RUN: llvm-spirv %s -o %t.spv ; RUN: llvm-spirv -r %t.spv -o %t.rev.bc ; RUN: llvm-dis < %t.rev.bc | FileCheck %s --check-prefix=CHECK-LLVM diff --git a/test/transcoding/linked-program.ll b/test/transcoding/linked-program.ll index bdcdb60ffd..396544009b 100644 --- a/test/transcoding/linked-program.ll +++ b/test/transcoding/linked-program.ll @@ -1,7 +1,6 @@ ; REQUIRES: spirv-link ; -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -o %t.spv +; RUN: llvm-spirv %s -o %t.spv ; RUN: spirv-val %t.spv ; RUN: spirv-link %t.spv -o %t.linked.spv ; RUN: llvm-spirv -r %t.linked.spv -o %t.rev.bc diff --git a/test/transcoding/relationals_select.ll b/test/transcoding/relationals_select.ll index bc40dd1eb8..82e250222b 100644 --- a/test/transcoding/relationals_select.ll +++ b/test/transcoding/relationals_select.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -o %t.spv +; RUN: llvm-spirv %s -o %t.spv ; RUN: llvm-spirv -r %t.spv -o %t.rev.bc ; RUN: llvm-dis < %t.rev.bc | FileCheck %s diff --git a/test/transcoding/sub_group_ballot.ll b/test/transcoding/sub_group_ballot.ll index 4b6ee8e0b0..f277fb3a79 100644 --- a/test/transcoding/sub_group_ballot.ll +++ b/test/transcoding/sub_group_ballot.ll @@ -155,8 +155,7 @@ ;; dst[4] = get_sub_group_lt_mask(); ;; } -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -o %t.spv +; RUN: llvm-spirv %s -o %t.spv ; RUN: spirv-val %t.spv ; RUN: llvm-spirv %t.spv -to-text -o %t.spt ; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV diff --git a/test/transcoding/sub_group_clustered_reduce.ll b/test/transcoding/sub_group_clustered_reduce.ll index c4db0e0282..e22d078e21 100644 --- a/test/transcoding/sub_group_clustered_reduce.ll +++ b/test/transcoding/sub_group_clustered_reduce.ll @@ -173,8 +173,7 @@ ;; dst[2] = sub_group_clustered_reduce_logical_xor(v, 2); ;; } -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -o %t.spv +; RUN: llvm-spirv %s -o %t.spv ; RUN: llvm-spirv %t.spv -to-text -o %t.spt ; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV diff --git a/test/transcoding/sub_group_extended_types.ll b/test/transcoding/sub_group_extended_types.ll index 86bf3df17e..590b30c0fe 100644 --- a/test/transcoding/sub_group_extended_types.ll +++ b/test/transcoding/sub_group_extended_types.ll @@ -179,8 +179,7 @@ ;; dst[8] = sub_group_scan_exclusive_max(v); ;; } -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -o %t.spv +; RUN: llvm-spirv %s -o %t.spv ; RUN: llvm-spirv %t.spv -to-text -o %t.spt ; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV diff --git a/test/transcoding/sub_group_non_uniform_arithmetic.ll b/test/transcoding/sub_group_non_uniform_arithmetic.ll index c3ff5d8b6b..ac54b832bb 100644 --- a/test/transcoding/sub_group_non_uniform_arithmetic.ll +++ b/test/transcoding/sub_group_non_uniform_arithmetic.ll @@ -308,8 +308,7 @@ ;; dst[8] = sub_group_non_uniform_scan_exclusive_logical_xor(v); ;; } -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -o %t.spv +; RUN: llvm-spirv %s -o %t.spv ; RUN: llvm-spirv %t.spv -to-text -o %t.spt ; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV diff --git a/test/transcoding/sub_group_non_uniform_vote.ll b/test/transcoding/sub_group_non_uniform_vote.ll index 541f69e9d3..2570eae254 100644 --- a/test/transcoding/sub_group_non_uniform_vote.ll +++ b/test/transcoding/sub_group_non_uniform_vote.ll @@ -61,8 +61,7 @@ ;; } ;; } -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -o %t.spv +; RUN: llvm-spirv %s -o %t.spv ; RUN: llvm-spirv %t.spv -to-text -o %t.spt ; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV diff --git a/test/transcoding/sub_group_shuffle.ll b/test/transcoding/sub_group_shuffle.ll index 6d2f93b04d..7e7210ccbe 100644 --- a/test/transcoding/sub_group_shuffle.ll +++ b/test/transcoding/sub_group_shuffle.ll @@ -79,8 +79,7 @@ ;; dst[1] = sub_group_shuffle_xor( v, 0 ); ;; } -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -o %t.spv +; RUN: llvm-spirv %s -o %t.spv ; RUN: llvm-spirv %t.spv -to-text -o %t.spt ; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV diff --git a/test/transcoding/sub_group_shuffle_relative.ll b/test/transcoding/sub_group_shuffle_relative.ll index 4d90d90f48..ccc9d21614 100644 --- a/test/transcoding/sub_group_shuffle_relative.ll +++ b/test/transcoding/sub_group_shuffle_relative.ll @@ -79,8 +79,7 @@ ;; dst[1] = sub_group_shuffle_down( v, 0 ); ;; } -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -o %t.spv +; RUN: llvm-spirv %s -o %t.spv ; RUN: llvm-spirv %t.spv -to-text -o %t.spt ; RUN: FileCheck < %t.spt %s --check-prefix=CHECK-SPIRV diff --git a/test/transcoding/sycl_array_zero_init.ll b/test/transcoding/sycl_array_zero_init.ll index 0ee6367268..4141b636ff 100644 --- a/test/transcoding/sycl_array_zero_init.ll +++ b/test/transcoding/sycl_array_zero_init.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -o %t.spv +; RUN: llvm-spirv %s -o %t.spv ; RUN: llvm-spirv -r %t.spv -o %t.rev.bc ; RUN: llvm-dis %t.rev.bc -o - | FileCheck %s diff --git a/test/umulextended_builtin.ll b/test/umulextended_builtin.ll index 5b496840f4..580a34df0e 100644 --- a/test/umulextended_builtin.ll +++ b/test/umulextended_builtin.ll @@ -1,6 +1,5 @@ ; REQUIRES: spirv-dis -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -o %t.spv +; RUN: llvm-spirv %s -o %t.spv ; RUN: spirv-dis --raw-id %t.spv -o %t.spvasm ; RUN: FileCheck < %t.spvasm --check-prefix CHECK-SPIRV %s ; RUN: spirv-val %t.spv diff --git a/test/var_undef.ll b/test/var_undef.ll index 8e93424cc2..87c56141ba 100644 --- a/test/var_undef.ll +++ b/test/var_undef.ll @@ -1,8 +1,7 @@ ; Ensure that encoding of variable with undef initializer ; has correct wordcount -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -o %t.spv +; RUN: llvm-spirv %s -o %t.spv ; RUN: llvm-spirv -to-text %t.spv -o %t.spt ; RUN: FileCheck < %t.spt %s --check-prefix CHECK-SPIRV ; RUN: llvm-spirv -r %t.spv -o %t.rev.bc diff --git a/test/zero-length-array.ll b/test/zero-length-array.ll index 80a8166361..1c217d2831 100644 --- a/test/zero-length-array.ll +++ b/test/zero-length-array.ll @@ -1,6 +1,5 @@ ; REQUIRES: spirv-dis -; RUN: llvm-as %s -o %t.bc -; RUN: llvm-spirv %t.bc -o %t.spv +; RUN: llvm-spirv %s -o %t.spv ; RUN: spirv-dis %t.spv | FileCheck %s ; CHECK: [[REGISTER:%[a-zA-Z0-9_]+]] = OpConstant %uint 1