diff options
author | Eric Christopher <echristo@gmail.com> | 2014-06-13 22:38:52 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2014-06-13 22:38:52 +0000 |
commit | f047bfd115b50e97c357785f9632ee79d89295bc (patch) | |
tree | 67b638acae7e971165b876a3f11ce209d5ed1566 /llvm/lib/CodeGen/TargetInstrInfo.cpp | |
parent | 170ebcf07fa1b97dcb63bfc3d8c3f04a61389494 (diff) | |
download | bcm5719-llvm-f047bfd115b50e97c357785f9632ee79d89295bc.tar.gz bcm5719-llvm-f047bfd115b50e97c357785f9632ee79d89295bc.zip |
The hazard recognizer only needs a subtarget, not a target machine
so make it take one. Fix up all users accordingly.
llvm-svn: 210948
Diffstat (limited to 'llvm/lib/CodeGen/TargetInstrInfo.cpp')
-rw-r--r-- | llvm/lib/CodeGen/TargetInstrInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/TargetInstrInfo.cpp b/llvm/lib/CodeGen/TargetInstrInfo.cpp index c3f84c64d7f..83966bd0c20 100644 --- a/llvm/lib/CodeGen/TargetInstrInfo.cpp +++ b/llvm/lib/CodeGen/TargetInstrInfo.cpp @@ -671,7 +671,7 @@ bool TargetInstrInfo::usePreRAHazardRecognizer() const { // Default implementation of CreateTargetRAHazardRecognizer. ScheduleHazardRecognizer *TargetInstrInfo:: -CreateTargetHazardRecognizer(const TargetMachine *TM, +CreateTargetHazardRecognizer(const TargetSubtargetInfo *STI, const ScheduleDAG *DAG) const { // Dummy hazard recognizer allows all instructions to issue. return new ScheduleHazardRecognizer(); |