No targets support line number info yet.
authorChris Lattner <sabre@nondot.org>
Tue, 29 Nov 2005 06:16:21 +0000 (06:16 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 29 Nov 2005 06:16:21 +0000 (06:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24513 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Alpha/AlphaISelLowering.cpp
lib/Target/IA64/IA64ISelLowering.cpp
lib/Target/PowerPC/PPCISelLowering.cpp
lib/Target/X86/X86ISelLowering.cpp

index df84d52feb5b31620b58766bc601c258b627558f..021c92db3c9a1a382d0f26752080fc705b961792 100644 (file)
@@ -97,6 +97,9 @@ AlphaTargetLowering::AlphaTargetLowering(TargetMachine &TM) : TargetLowering(TM)
 
   //Doesn't work yet
   setOperationAction(ISD::SETCC, MVT::f32,   Promote);
+
+  // We don't have line number support yet.
+  setOperationAction(ISD::LOCATION, MVT::Other, Expand);
   
   computeRegisterProperties();
   
index d757496f1de721df53ddbb165b3a4a5759c99a55..e7276d4698ce2e8c0fc89e0dbc685bdb29cd36a3 100644 (file)
@@ -72,6 +72,9 @@ IA64TargetLowering::IA64TargetLowering(TargetMachine &TM)
       setOperationAction(ISD::FCOS , MVT::f32, Expand);
       setOperationAction(ISD::FSQRT, MVT::f32, Expand);
 
+      // We don't have line number support yet.
+      setOperationAction(ISD::LOCATION, MVT::Other, Expand);
+
       //IA64 has these, but they are not implemented
       setOperationAction(ISD::CTTZ , MVT::i64  , Expand);
       setOperationAction(ISD::CTLZ , MVT::i64  , Expand);
index 6f798c38ed8225b0093ec9bc9c287bbe16f62bd2..9526ae1f2a7c755742a36e84f1c5a9c32402bda0 100644 (file)
@@ -90,6 +90,9 @@ PPCTargetLowering::PPCTargetLowering(TargetMachine &TM)
 
   // PowerPC does not have truncstore for i1.
   setOperationAction(ISD::TRUNCSTORE, MVT::i1, Promote);
+
+  // PowerPC doesn't have line number support yet.
+  setOperationAction(ISD::LOCATION, MVT::Other, Expand);
   
   // We want to legalize GlobalAddress into the appropriate instructions to
   // materialize the address.
index d4de67f09721dd40805ad5aac7f3b369616f9b8a..b42faa0a09556f5fbcd8e72f8ab206e4d7963d70 100644 (file)
@@ -116,6 +116,9 @@ X86TargetLowering::X86TargetLowering(TargetMachine &TM)
   setOperationAction(ISD::SELECT           , MVT::i1   , Promote);
   setOperationAction(ISD::SELECT           , MVT::i8   , Promote);
 
+  // We don't have line number support yet.
+  setOperationAction(ISD::LOCATION, MVT::Other, Expand);
+
   if (X86ScalarSSE) {
     // Set up the FP register classes.
     addRegisterClass(MVT::f32, X86::V4F4RegisterClass);