summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorNicolas Geoffray <nicolas.geoffray@lip6.fr>2007-02-27 13:10:41 +0000
committerNicolas Geoffray <nicolas.geoffray@lip6.fr>2007-02-27 13:10:41 +0000
commitb524dfd557e708b8f505e5c48b7ebd804539fba3 (patch)
treee37f08d8191048d97b4be585926f9d4f13a9ef02 /llvm
parent89d81878d2b469e07693ab2220f0726007f91767 (diff)
downloadbcm5719-llvm-b524dfd557e708b8f505e5c48b7ebd804539fba3.tar.gz
bcm5719-llvm-b524dfd557e708b8f505e5c48b7ebd804539fba3.zip
Fix parenthesis for BCTRL_{ELF|Macho} test.
llvm-svn: 34668
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/Target/PowerPC/PPCHazardRecognizers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCHazardRecognizers.cpp b/llvm/lib/Target/PowerPC/PPCHazardRecognizers.cpp
index 428bdeac925..52f8ca7b592 100644
--- a/llvm/lib/Target/PowerPC/PPCHazardRecognizers.cpp
+++ b/llvm/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_Macho || Opcode == PPC::BCTRL_ELF)
+ 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
OpenPOWER on IntegriCloud