From 05c180b34763c2891a2bf467c48bcf2a96f7e660 Mon Sep 17 00:00:00 2001 From: Nicolas Geoffray Date: Tue, 27 Feb 2007 13:10:41 +0000 Subject: [PATCH] Fix parenthesis for BCTRL_{ELF|Macho} test. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34668 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/PowerPC/PPCHazardRecognizers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.34.1