[llvm-branch-commits] [llvm] [3/7][PISA] Add PISA register file, instruction set, and MC layer (PR #214107)
Michal Paszkowski via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Sep 23 11:54:51 PDT 2026
================
@@ -0,0 +1,344 @@
+//===----------------------------------------------------------------------===//
+//
+// 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
+//
+//===----------------------------------------------------------------------===//
+
+// DAG operator used for dag representation of a condition flag: (cflag FlagName value)
+// These are used in EnumOptionOpnd to represent certain
+def cflag;
+
+// Function to find index of a item from a list of string.
+// Note that tablegen does not allow recursive definition.
+class getIndexFromList<list<string> slist, string item> {
----------------
michalpaszkowski wrote:
Addressed in the 7f9ac68 Replace TableGen lookup with a generic commit
https://github.com/llvm/llvm-project/pull/214107
More information about the llvm-branch-commits
mailing list