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 | ffcb590b0fdb57033149c53d7b9884505d225bd5 (patch) | |
tree | d570cc3a1bd793e19db00ae9fa6561bc7e963f6a | |
parent | 482fa218d46a28f236e5c850fe3ffe0a29cce8e1 (diff) | |
download | bcm5719-llvm-ffcb590b0fdb57033149c53d7b9884505d225bd5.tar.gz bcm5719-llvm-ffcb590b0fdb57033149c53d7b9884505d225bd5.zip |
Add an "IsBottomUp" member function to FastISel, which will be used to
support a new bottom-up mode.
llvm-svn: 103138
-rw-r--r-- | llvm/include/llvm/CodeGen/FastISel.h | 1 | ||||
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/FastISel.cpp | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/llvm/include/llvm/CodeGen/FastISel.h b/llvm/include/llvm/CodeGen/FastISel.h index 5a2b0e7c765..2341f2302a4 100644 --- a/llvm/include/llvm/CodeGen/FastISel.h +++ b/llvm/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/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp index b4c38332691..078e5fd3c07 100644 --- a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp +++ b/llvm/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() {} |