Changes in directory llvm/lib/Target/PowerPC:

PPCISelLowering.cpp updated: 1.57 -> 1.58
---
Log message:

Had expand logic backward.


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

 PPCISelLowering.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)


Index: llvm/lib/Target/PowerPC/PPCISelLowering.cpp
diff -u llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.57 
llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.58
--- llvm/lib/Target/PowerPC/PPCISelLowering.cpp:1.57    Wed Jan  4 19:25:28 2006
+++ llvm/lib/Target/PowerPC/PPCISelLowering.cpp Wed Jan  4 19:47:43 2006
@@ -96,8 +96,9 @@
 
   // Support label based line numbers.
   setOperationAction(ISD::LOCATION, MVT::Other, Expand);
+  setOperationAction(ISD::DEBUG_LOC, MVT::Other, Expand);
   // FIXME - use subtarget debug flags
-  if (TM.getSubtarget<PPCSubtarget>().isDarwin())
+  if (!TM.getSubtarget<PPCSubtarget>().isDarwin())
     setOperationAction(ISD::DEBUG_LABEL, MVT::Other, Expand);
   
   // We want to legalize GlobalAddress and ConstantPool nodes into the 



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to