Add an "IsBottomUp" member function to FastISel, which will be used to
authorDan Gohman <gohman@apple.com>
Wed, 5 May 2010 23:58:35 +0000 (23:58 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 5 May 2010 23:58:35 +0000 (23:58 +0000)
support a new bottom-up mode.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103138 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CodeGen/FastISel.h
lib/CodeGen/SelectionDAG/FastISel.cpp

index 5a2b0e7c765f211074e4defe0c8eec336064d7fc..2341f2302a4b0b87a3f2dd15699786dc0efae818 100644 (file)
@@ -60,6 +60,7 @@ protected:
   const TargetData &TD;
   const TargetInstrInfo &TII;
   const TargetLowering &TLI;
+  bool IsBottomUp;
 
 public:
   /// startNewBlock - Set the current block to which generated machine
index b4c38332691c79c1d9ecda4d6261430e4794fe6a..078e5fd3c07e95fad4d563463523671d26ae78b0 100644 (file)
@@ -782,7 +782,8 @@ FastISel::FastISel(MachineFunction &mf,
     TM(MF.getTarget()),
     TD(*TM.getTargetData()),
     TII(*TM.getInstrInfo()),
-    TLI(*TM.getTargetLowering()) {
+    TLI(*TM.getTargetLowering()),
+    IsBottomUp(false) {
 }
 
 FastISel::~FastISel() {}