[llvm-commits] CVS: llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp

Jim Laskey jlaskey at apple.com
Wed Dec 21 12:51:51 PST 2005



Changes in directory llvm/lib/Target/SparcV8:

SparcV8ISelDAGToDAG.cpp updated: 1.30 -> 1.31
---
Log message:

Disengage DEBUG_LOC from non-PPC targets.


---
Diffs of the changes:  (+5 -0)

 SparcV8ISelDAGToDAG.cpp |    5 +++++
 1 files changed, 5 insertions(+)


Index: llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp
diff -u llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp:1.30 llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp:1.31
--- llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp:1.30	Tue Dec 20 23:27:51 2005
+++ llvm/lib/Target/SparcV8/SparcV8ISelDAGToDAG.cpp	Wed Dec 21 14:51:37 2005
@@ -147,6 +147,11 @@
   setOperationAction(ISD::SHL_PARTS, MVT::i32, Expand);
   setOperationAction(ISD::SRA_PARTS, MVT::i32, Expand);
   setOperationAction(ISD::SRL_PARTS, MVT::i32, Expand);
+
+  // We don't have line number support yet.
+  setOperationAction(ISD::LOCATION, MVT::Other, Expand);
+  setOperationAction(ISD::DEBUG_LOC, MVT::Other, Expand);
+
   computeRegisterProperties();
 }
 






More information about the llvm-commits mailing list