diff options
author | Chris Lattner <sabre@nondot.org> | 2007-02-25 05:34:32 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-02-25 05:34:32 +0000 |
commit | 9f0bc659c8d2f1e401a9690e4900b0fd2a70bdfe (patch) | |
tree | 4e65cf82f1e9e276a5f2194e53b67e1e78d018c0 /lib/Target/PowerPC/PPCHazardRecognizers.cpp | |
parent | eb95d41cd364f3526d1c39455a0131185495c51a (diff) |
implement support for the linux/ppc function call ABI. Patch by
Nicolas Geoffray!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34574 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCHazardRecognizers.cpp')
-rw-r--r-- | lib/Target/PowerPC/PPCHazardRecognizers.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PowerPC/PPCHazardRecognizers.cpp b/lib/Target/PowerPC/PPCHazardRecognizers.cpp index 69ad1ea86e..428bdeac92 100644 --- a/lib/Target/PowerPC/PPCHazardRecognizers.cpp +++ b/lib/Target/PowerPC/PPCHazardRecognizers.cpp @@ -157,7 +157,7 @@ getHazardType(SDNode *Node) { } // Do not allow MTCTR and BCTRL to be in the same dispatch group. - if (HasCTRSet && Opcode == PPC::BCTRL) + if (HasCTRSet && Opcode == PPC::BCTRL_Macho || Opcode == PPC::BCTRL_ELF) return NoopHazard; // If this is a load following a store, make sure it's not to the same or |