[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCISelLowering.cpp
Jim Laskey
jlaskey at apple.com
Wed Jan 4 17:47:58 PST 2006
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
More information about the llvm-commits
mailing list