mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-22 10:24:26 +00:00
Added initial support for DEBUG_LABEL allowing debug specific labels to be
inserted in the code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25104 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -94,8 +94,11 @@ 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.
|
||||
// Support label based line numbers.
|
||||
setOperationAction(ISD::LOCATION, MVT::Other, Expand);
|
||||
// FIXME - use subtarget debug flags
|
||||
if (TM.getSubtarget<PPCSubtarget>().isDarwin())
|
||||
setOperationAction(ISD::DEBUG_LABEL, MVT::Other, Expand);
|
||||
|
||||
// We want to legalize GlobalAddress and ConstantPool nodes into the
|
||||
// appropriate instructions to materialize the address.
|
||||
|
Reference in New Issue
Block a user