[llvm] [TableGen] Added submulticlass typechecking to template arg values. (PR #112904)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 22 01:30:39 PDT 2024


================
@@ -319,7 +319,7 @@ multiclass
 multiclass
     VOP2eInst<string opName, VOPProfile P, SDPatternOperator node = null_frag,
               string revOp = opName, bit useSGPRInput = !eq(P.NumSrcArgs, 3)>
-    : VOP2eInst_Base<opName, P, -1, "", node, revOp, useSGPRInput>;
+    : VOP2eInst_Base<opName, P, -1, "v_cndmask_b16", node, revOp, useSGPRInput>;
----------------
jayfoad wrote:

> substr segfaults on an empty string!? That's a really bad tablegen bug.

@jofrn if you have time can fix this too please (in a separate patch).

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


More information about the llvm-commits mailing list