don't emit the old sdnodexform stuff for the new isel.
authorChris Lattner <sabre@nondot.org>
Mon, 1 Mar 2010 19:39:15 +0000 (19:39 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 1 Mar 2010 19:39:15 +0000 (19:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97486 91177308-0d34-0410-b5e6-96231b3b80d8

utils/TableGen/DAGISelEmitter.cpp

index 8f6d821e56f9705e1d8cbd177243df13bc9cce3d..bc57428f7888488758cc2faec356ffc109aae508 100644 (file)
@@ -1942,7 +1942,6 @@ void DAGISelEmitter::run(raw_ostream &OS) {
         });
 
   // FIXME: These are being used by hand written code, gross.
-  EmitNodeTransforms(OS);
   EmitPredicateFunctions(OS);
 
 #ifdef ENABLE_NEW_ISEL
@@ -1980,7 +1979,8 @@ void DAGISelEmitter::run(raw_ostream &OS) {
   delete TheMatcher;
   
 #else
-  
+  EmitNodeTransforms(OS);
+
   // At this point, we have full information about the 'Patterns' we need to
   // parse, both implicitly from instructions as well as from explicit pattern
   // definitions.  Emit the resultant instruction selector.