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 | b524dfd557e708b8f505e5c48b7ebd804539fba3 (patch) | |
tree | e37f08d8191048d97b4be585926f9d4f13a9ef02 | |
parent | 89d81878d2b469e07693ab2220f0726007f91767 (diff) | |
download | bcm5719-llvm-b524dfd557e708b8f505e5c48b7ebd804539fba3.tar.gz bcm5719-llvm-b524dfd557e708b8f505e5c48b7ebd804539fba3.zip |
Fix parenthesis for BCTRL_{ELF|Macho} test.
llvm-svn: 34668
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCHazardRecognizers.cpp | 2 |
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 |