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 | 7354a3fe576b34919b0752306fd1b382f879a115 (patch) | |
tree | 7ac2cfb092b3e6b2e884301393bf041be1a2147f /lib/CodeGen/TargetInstrInfo.cpp | |
parent | 0cf109de5469b36deac4d1d70e4f7269b2afcca5 (diff) | |
download | llvm-7354a3fe576b34919b0752306fd1b382f879a115.tar.gz llvm-7354a3fe576b34919b0752306fd1b382f879a115.tar.bz2 llvm-7354a3fe576b34919b0752306fd1b382f879a115.tar.xz |
The hazard recognizer only needs a subtarget, not a target machine
so make it take one. Fix up all users accordingly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210948 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/TargetInstrInfo.cpp')
-rw-r--r-- | lib/CodeGen/TargetInstrInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/TargetInstrInfo.cpp b/lib/CodeGen/TargetInstrInfo.cpp index c3f84c64d7..83966bd0c2 100644 --- a/lib/CodeGen/TargetInstrInfo.cpp +++ b/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(); |