[llvm] [SPIRV] Add support for CodeSectionINTEL storage class in legalizer (PR #167961)

Juan Manuel Martinez CaamaƱo via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 17 07:51:11 PST 2025


================
@@ -0,0 +1,9 @@
+; RUN: not llc --global-isel %s -o /dev/null 2>&1 | FileCheck %s
+target datalayout = "e-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024-n8:16:32:64-G1-P9-A0"
+target triple = "spirv64-intel"
+
+define void @memset(ptr addrspace(9) %a) {
----------------
jmmartinez wrote:

Just a NIT

```suggestion
define void @do_load(ptr addrspace(9) %a) {
```

https://github.com/llvm/llvm-project/pull/167961


More information about the llvm-commits mailing list