diff options
author | Dan Gohman <gohman@apple.com> | 2010-05-05 23:58:35 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-05-05 23:58:35 +0000 |
commit | a7a0ed79012ea36f838239cf1d04959711aec2a9 (patch) | |
tree | 6e80e827afaa6b4c48c55989530069d16a072b7b | |
parent | 851f87c6c98af936ba68c5ca8962df3832f8a5fc (diff) |
Add an "IsBottomUp" member function to FastISel, which will be used to
support a new bottom-up mode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103138 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/CodeGen/FastISel.h | 1 | ||||
-rw-r--r-- | lib/CodeGen/SelectionDAG/FastISel.cpp | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/FastISel.h b/include/llvm/CodeGen/FastISel.h index 5a2b0e7c76..2341f2302a 100644 --- a/include/llvm/CodeGen/FastISel.h +++ b/include/llvm/CodeGen/FastISel.h @@ -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 diff --git a/lib/CodeGen/SelectionDAG/FastISel.cpp b/lib/CodeGen/SelectionDAG/FastISel.cpp index b4c3833269..078e5fd3c0 100644 --- a/lib/CodeGen/SelectionDAG/FastISel.cpp +++ b/lib/CodeGen/SelectionDAG/FastISel.cpp @@ -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() {} |