[llvm] [SPIRV] Do not use OpTypeRuntimeArray in Kernel env. (PR #149522)
Marcos Maronas via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 30 00:55:52 PDT 2025
================
@@ -1,13 +1,14 @@
-; RUN: llc -O0 -mtriple=spirv32-unknown-unknown %s -o - | FileCheck %s --check-prefix=CHECK-SPIRV
+; RUN: llc -O0 -mtriple=spirv32-unknown-vulkan %s -o - | FileCheck %s --check-prefix=CHECK-SPIRV
----------------
maarquitos14 wrote:
There is a different test for `SPV_KHR_bit_instructions`. `OpBitReverse` can be used through both `Shader` and `BitInstructions`, so I thought it would be good to have this one test it through `Shader`, although I there is a different one testing without the extension as well, so it goes through `Shader` as well. Once more, we have two options:
- explicitly enable the extension and keep the old triple.
- go with `vulkan` triple.
I'm ambivalent, so happy to go with either. Let me know what works best for you.
https://github.com/llvm/llvm-project/pull/149522
More information about the llvm-commits
mailing list