Remove attribution from file headers, per discussion on llvmdev.
[oota-llvm.git] / lib / Target / PowerPC / PPCHazardRecognizers.cpp
index 428bdeac925cfd00a2080846992627e5a7338146..c11e0dd01d0739f3aa21c84d529446f186c1c690 100644 (file)
@@ -2,8 +2,8 @@
 //
 //                     The LLVM Compiler Infrastructure
 //
-// This file was developed by Chris Lattner and is distributed under
-// the University of Illinois Open Source License. See LICENSE.TXT for details.
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
 //
 //===----------------------------------------------------------------------===//
 //
@@ -11,7 +11,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-#define DEBUG_TYPE "sched"
+#define DEBUG_TYPE "pre-RA-sched"
 #include "PPCHazardRecognizers.h"
 #include "PPC.h"
 #include "PPCInstrInfo.h"
@@ -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
@@ -204,6 +204,7 @@ getHazardType(SDNode *Node) {
       LoadSize = 8;
       break;
     case PPC::LVX:
+    case PPC::LVXL:
       LoadSize = 16;
       break;
     }
@@ -268,6 +269,7 @@ void PPCHazardRecognizer970::EmitInstruction(SDNode *Node) {
       ThisStoreSize = 8;
       break;
     case PPC::STVX:
+    case PPC::STVXL:
       ThisStoreSize = 16;
       break;
     }