diff options
| author | Jim Laskey <jlaskey@mac.com> | 2006-01-05 01:47:43 +0000 |
|---|---|---|
| committer | Jim Laskey <jlaskey@mac.com> | 2006-01-05 01:47:43 +0000 |
| commit | deeafa0f003267ce35de4d7960f8e15da4ceb6e9 (patch) | |
| tree | f0f604a94e332db562910dce0f9e640752df50a9 /llvm/lib/Target/PowerPC/PPCISelLowering.cpp | |
| parent | 762e9ec06c62131bd5967b5fe855c543c7d1af67 (diff) | |
| download | bcm5719-llvm-deeafa0f003267ce35de4d7960f8e15da4ceb6e9.tar.gz bcm5719-llvm-deeafa0f003267ce35de4d7960f8e15da4ceb6e9.zip | |
Had expand logic backward.
llvm-svn: 25105
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCISelLowering.cpp')
| -rw-r--r-- | llvm/lib/Target/PowerPC/PPCISelLowering.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCISelLowering.cpp b/llvm/lib/Target/PowerPC/PPCISelLowering.cpp index 8eb4ac303a7..9547b9e9d4f 100644 --- a/llvm/lib/Target/PowerPC/PPCISelLowering.cpp +++ b/llvm/lib/Target/PowerPC/PPCISelLowering.cpp @@ -96,8 +96,9 @@ PPCTargetLowering::PPCTargetLowering(TargetMachine &TM) // 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 |

