diff options
author | Hal Finkel <hfinkel@anl.gov> | 2011-12-02 04:58:02 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2011-12-02 04:58:02 +0000 |
commit | 58ca3600817a2f930c9167a423578b6c5189f96b (patch) | |
tree | d323e9235ab879653c88b29d757f0d029c22dc38 /llvm/lib/Target/PowerPC/PPCSubtarget.h | |
parent | 596ab8ee08fd9780253353a2860cef212506d665 (diff) | |
download | bcm5719-llvm-58ca3600817a2f930c9167a423578b6c5189f96b.tar.gz bcm5719-llvm-58ca3600817a2f930c9167a423578b6c5189f96b.zip |
update PPC 940 hazard rec. to function in postRA mode
llvm-svn: 145676
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCSubtarget.h')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCSubtarget.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCSubtarget.h b/llvm/lib/Target/PowerPC/PPCSubtarget.h index d2b853d7095..62b2424d82c 100644 --- a/llvm/lib/Target/PowerPC/PPCSubtarget.h +++ b/llvm/lib/Target/PowerPC/PPCSubtarget.h @@ -148,6 +148,10 @@ public: bool isDarwinABI() const { return isDarwin(); } bool isSVR4ABI() const { return !isDarwin(); } + /// enablePostRAScheduler - True at 'More' optimization. + bool enablePostRAScheduler(CodeGenOpt::Level OptLevel, + TargetSubtargetInfo::AntiDepBreakMode& Mode, + RegClassVector& CriticalPathRCs) const; }; } // End llvm namespace |