[llvm] [LLVM][TableGen] Support type casts of nodes with multiple results (PR #109728)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 23 16:30:49 PDT 2024


================
@@ -2070,3 +2070,18 @@ class ComplexPattern<ValueType ty, int numops, string fn,
   list<SDNodeProperty> Properties = props;
   int Complexity = complexity;
 }
+
+//===----------------------------------------------------------------------===//
+// Value type list.
+//
+// This can be used to pattern match for intrinsics with multiple overloaded
+// return values. For example:
+//
+// def int_foo : Irtrinsic<[llvm_anyint_ty, llvm_anyint_ty], []>;
----------------
topperc wrote:

Intrinsic*

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


More information about the llvm-commits mailing list