Accelerate isel dispatch for tables that start with a top-level

OPC_SwitchOpcode to use a table lookup instead of having to go
through the interpreter for this.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97469 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2010-03-01 18:47:11 +00:00
parent d1f94e90fd
commit 7390eebd49
2 changed files with 40 additions and 1 deletions

View File

@@ -245,6 +245,10 @@ private:
/// one preferred by the target.
///
ScheduleDAGSDNodes *CreateScheduler();
/// OpcodeOffset - This is a cache used to dispatch efficiently into isel
/// state machines that start with a OPC_SwitchOpcode node.
std::vector<unsigned> OpcodeOffset;
};
}