[llvm-branch-commits] [llvm] [2/7][PISA] Add PISA IR intrinsics and address-space utilities (PR #214096)

Renato Golin via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Aug 6 06:11:59 PDT 2026


================
@@ -0,0 +1,252 @@
+//===- IntrinsicsPISA.td - Defines PISA intrinsics ---------*- tablegen -*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+//
+// This file defines all of the PISA-specific intrinsics.
+//
+//===----------------------------------------------------------------------===//
+
+// Pointer type definitions.
+def pisa_global_ptr_ty   : LLVMQualPointerType<1>;  // (global)*
+def pisa_constant_ptr_ty : LLVMQualPointerType<2>;  // (constant)*
+def pisa_shared_ptr_ty   : LLVMQualPointerType<3>;  // (shared)*
+def pisa_generic_ptr_ty  : LLVMQualPointerType<0>;  // (generic)*
----------------
rengolin wrote:

nit: why 0 last?

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


More information about the llvm-branch-commits mailing list