OSDN Git Service

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 5a2b0e7..2341f23 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 b4c3833..078e5fd 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() {}