[llvm] [LLVM] Support target extension types in vectors (PR #140630)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Thu May 22 06:15:46 PDT 2025
================
@@ -0,0 +1,11 @@
+; RUN: llvm-as -o - %s | llvm-dis | FileCheck %s
+
+; CHECK-LABEL: @vec_ops(
+define <2 x target("spirv.Image")> @vec_ops(<2 x target("spirv.Image")> %x) {
----------------
nikic wrote:
This probably shouldn't be *actually* valid, right? Maybe we should have a separate extension type property that decides whether it can be used in a vector or not?
https://github.com/llvm/llvm-project/pull/140630
More information about the llvm-commits
mailing list