Changed code to ignore Phi Nodes in PhyRegAlloc
llvm-svn: 1253
diff --git a/llvm/lib/CodeGen/RegAlloc/RegClass.cpp b/llvm/lib/CodeGen/RegAlloc/RegClass.cpp
index 1219147..d0f1c44 100644
--- a/llvm/lib/CodeGen/RegAlloc/RegClass.cpp
+++ b/llvm/lib/CodeGen/RegAlloc/RegClass.cpp
@@ -82,6 +82,8 @@
// now push NON-constrined ones, if any
NeedMoreSpills = ! pushUnconstrainedIGNodes();
+ cerr << "\nConstrained IG Node found !@!" << IGNodeSpill->getIndex();
+
} while( NeedMoreSpills ); // repeat until we have pushed all
}