diff options
| author | Guillaume Chatelet <gchatelet@google.com> | 2018-10-24 11:55:06 +0000 |
|---|---|---|
| committer | Guillaume Chatelet <gchatelet@google.com> | 2018-10-24 11:55:06 +0000 |
| commit | da11b85606f532a1b4aac96d5f9c92eded60e568 (patch) | |
| tree | 33e71f89ba50ac382c55f97db69b5194a9325df1 /llvm/tools/llvm-exegesis/lib/LlvmState.cpp | |
| parent | 083addf75192ff07eccd002eceeeacd085054217 (diff) | |
| download | bcm5719-llvm-da11b85606f532a1b4aac96d5f9c92eded60e568.tar.gz bcm5719-llvm-da11b85606f532a1b4aac96d5f9c92eded60e568.zip | |
[llvm-exegesis] Implements a cache of Instruction objects.
llvm-svn: 345130
Diffstat (limited to 'llvm/tools/llvm-exegesis/lib/LlvmState.cpp')
| -rw-r--r-- | llvm/tools/llvm-exegesis/lib/LlvmState.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/tools/llvm-exegesis/lib/LlvmState.cpp b/llvm/tools/llvm-exegesis/lib/LlvmState.cpp index ba786cc97ce..58e9db315d5 100644 --- a/llvm/tools/llvm-exegesis/lib/LlvmState.cpp +++ b/llvm/tools/llvm-exegesis/lib/LlvmState.cpp @@ -38,6 +38,7 @@ LLVMState::LLVMState(const std::string &Triple, const std::string &CpuName) { } RATC.reset(new RegisterAliasingTrackerCache( getRegInfo(), getFunctionReservedRegs(getTargetMachine()))); + IC.reset(new InstructionsCache(getInstrInfo(), getRATC())); } LLVMState::LLVMState() |

