diff options
author | Nicolas Geoffray <nicolas.geoffray@lip6.fr> | 2007-02-27 13:10:41 +0000 |
---|---|---|
committer | Nicolas Geoffray <nicolas.geoffray@lip6.fr> | 2007-02-27 13:10:41 +0000 |
commit | 05c180b34763c2891a2bf467c48bcf2a96f7e660 (patch) | |
tree | 4b5432db52952d9408ef78ffbb75fe545d693556 /lib/Target/PowerPC/PPCHazardRecognizers.cpp | |
parent | 63f8fb1993bf2b4286c5a6763e2eee414a751699 (diff) | |
download | external_llvm-05c180b34763c2891a2bf467c48bcf2a96f7e660.zip external_llvm-05c180b34763c2891a2bf467c48bcf2a96f7e660.tar.gz external_llvm-05c180b34763c2891a2bf467c48bcf2a96f7e660.tar.bz2 |
Fix parenthesis for BCTRL_{ELF|Macho} test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34668 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 428bdea..52f8ca7 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 |