From: Nicolas Geoffray Date: Tue, 27 Feb 2007 13:10:41 +0000 (+0000) Subject: Fix parenthesis for BCTRL_{ELF|Macho} test. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=05c180b34763c2891a2bf467c48bcf2a96f7e660;p=oota-llvm.git Fix parenthesis for BCTRL_{ELF|Macho} test. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34668 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/PowerPC/PPCHazardRecognizers.cpp b/lib/Target/PowerPC/PPCHazardRecognizers.cpp index 428bdeac925..52f8ca7b592 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_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