[llvm] [SPIRV] Add support for G_PTRMASK (PR #201450)
Nick Sarnie via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 9 07:15:39 PDT 2026
================
@@ -0,0 +1,16 @@
+; RUN: not llc -O0 -mtriple=spirv-unknown-vulkan %s -o - 2>&1 | FileCheck %s
+
+; Test that G_PTRMASK is errors for logical SPIR-V.
+
+; CHECK: G_PTRMASK is not supported with logical SPIR-V
+
+define spir_kernel void @test_ptrmask_i64(ptr addrspace(1) %ptr, i64 %mask, ptr addrspace(1) %out) #1 {
----------------
sarnex wrote:
Fixed in https://github.com/llvm/llvm-project/pull/201450/changes/b60c6e405f98c60618e7ae7772c926a6a58ca56d, thanks!
https://github.com/llvm/llvm-project/pull/201450
More information about the llvm-commits
mailing list