add a hook so that the new isel can run SDNodeXForms.
authorChris Lattner <sabre@nondot.org>
Sun, 21 Feb 2010 03:15:11 +0000 (03:15 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 21 Feb 2010 03:15:11 +0000 (03:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96714 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/SelectionDAGISel.h

index 1b9c26860500c87a33a65543b4fdc84643411eb9..f9716142b929a5ee3bc0ab75a285f3f6402cee09 100644 (file)
@@ -137,6 +137,12 @@ protected:
     return false;
   }
   
+  virtual SDValue RunSDNodeXForm(SDValue V, unsigned XFormNo) {
+    assert(0 && "Tblgen shoudl generate this!");
+    return SDValue();
+  }
+
+  
   // Calls to these functions are generated by tblgen.
   SDNode *Select_INLINEASM(SDNode *N);
   SDNode *Select_UNDEF(SDNode *N);