[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCHazardRecognizers.cpp

Nicolas Geoffray nicolas.geoffray at lip6.fr
Tue Feb 27 05:10:58 PST 2007



Changes in directory llvm/lib/Target/PowerPC:

PPCHazardRecognizers.cpp updated: 1.19 -> 1.20
---
Log message:

Fix parenthesis for BCTRL_{ELF|Macho} test.



---
Diffs of the changes:  (+1 -1)

 PPCHazardRecognizers.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/Target/PowerPC/PPCHazardRecognizers.cpp
diff -u llvm/lib/Target/PowerPC/PPCHazardRecognizers.cpp:1.19 llvm/lib/Target/PowerPC/PPCHazardRecognizers.cpp:1.20
--- llvm/lib/Target/PowerPC/PPCHazardRecognizers.cpp:1.19	Sat Feb 24 23:34:32 2007
+++ llvm/lib/Target/PowerPC/PPCHazardRecognizers.cpp	Tue Feb 27 07:10:41 2007
@@ -157,7 +157,7 @@
   }
   
   // 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






More information about the llvm-commits mailing list