[llvm-branch-commits] [llvm-branch] r100162 - in /llvm/branches/Apple/Morbo/lib/CodeGen/SelectionDAG: FastISel.cpp SelectionDAGBuilder.cpp

Devang Patel dpatel at apple.com
Thu Apr 1 17:53:16 PDT 2010


Author: dpatel
Date: Thu Apr  1 19:53:16 2010
New Revision: 100162

URL: http://llvm.org/viewvc/llvm-project?rev=100162&view=rev
Log:
The code generator is not yet ready to handle dbg_value.

Modified:
    llvm/branches/Apple/Morbo/lib/CodeGen/SelectionDAG/FastISel.cpp
    llvm/branches/Apple/Morbo/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp

Modified: llvm/branches/Apple/Morbo/lib/CodeGen/SelectionDAG/FastISel.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Morbo/lib/CodeGen/SelectionDAG/FastISel.cpp?rev=100162&r1=100161&r2=100162&view=diff
==============================================================================
--- llvm/branches/Apple/Morbo/lib/CodeGen/SelectionDAG/FastISel.cpp (original)
+++ llvm/branches/Apple/Morbo/lib/CodeGen/SelectionDAG/FastISel.cpp Thu Apr  1 19:53:16 2010
@@ -345,10 +345,13 @@
     
     // Building the map above is target independent.  Generating DBG_VALUE
     // inline is target dependent; do this now.
-    (void)TargetSelectInstruction(cast<Instruction>(I));
+    // FIXME: We are not yet ready to handle dbg_value.
+    // (void)TargetSelectInstruction(cast<Instruction>(I));
     return true;
   }
   case Intrinsic::dbg_value: {
+    // FIXME: We are not yet ready to handle dbg_value.
+    return 0;
     // This requires target support, but right now X86 is the only Fast target.
     DbgValueInst *DI = cast<DbgValueInst>(I);
     const TargetInstrDesc &II = TII.get(TargetOpcode::DBG_VALUE);

Modified: llvm/branches/Apple/Morbo/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Morbo/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp?rev=100162&r1=100161&r2=100162&view=diff
==============================================================================
--- llvm/branches/Apple/Morbo/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp (original)
+++ llvm/branches/Apple/Morbo/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp Thu Apr  1 19:53:16 2010
@@ -3800,6 +3800,8 @@
     return 0;
   }
   case Intrinsic::dbg_value: {
+    // FIXME: We are not yet ready to handle dbg_value.
+    return 0;
     DwarfWriter *DW = DAG.getDwarfWriter();
     if (!DW)
       return 0;





More information about the llvm-branch-commits mailing list