[llvm] [TableGen][GISel] Handle frameindex/tframeindex (PR #90475)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 29 08:16:06 PDT 2024


================
@@ -1223,6 +1228,10 @@ Expected<action_iterator> GlobalISelEmitter::importExplicitUseRenderer(
     if (DstChild.getOperator()->getName() == "timm") {
       DstMIBuilder.addRenderer<CopyRenderer>(DstChild.getName());
       return InsertPt;
+    }
+    if (DstChild.getOperator()->getName() == "tframeindex") {
+      DstMIBuilder.addRenderer<CopyRenderer>(DstChild.getName());
+      return InsertPt;
     } else if (DstChild.getOperator()->getName() == "imm") {
----------------
arsenm wrote:

No else after return, but I guess this was already violated 

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


More information about the llvm-commits mailing list