diff options
author | Dan Gohman <gohman@apple.com> | 2008-06-30 20:59:49 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-06-30 20:59:49 +0000 |
commit | 7f460203b0c5350e9b2c592f438e40f7a7de6e45 (patch) | |
tree | c359664a644283e7bd556af296487536fa21eaf4 /lib/Target/Mips | |
parent | db8d56b825efeb576d67b9dbe39d736d93306222 (diff) | |
download | external_llvm-7f460203b0c5350e9b2c592f438e40f7a7de6e45.zip external_llvm-7f460203b0c5350e9b2c592f438e40f7a7de6e45.tar.gz external_llvm-7f460203b0c5350e9b2c592f438e40f7a7de6e45.tar.bz2 |
Rename ISD::LOCATION to ISD::DBG_STOPPOINT to better reflect its
purpose, and give it a custom SDNode subclass so that it doesn't
need to have line number, column number, filename string, and
directory string, all existing as individual SDNodes to be the
operands.
This was the only user of ISD::STRING, StringSDNode, etc., so
remove those and some associated code.
This makes stop-points considerably easier to read in
-view-legalize-dags output, and reduces overhead (creating new
nodes and copying std::strings into them) on code containing
debugging information.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52924 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips')
-rw-r--r-- | lib/Target/Mips/MipsISelLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/Mips/MipsISelLowering.cpp b/lib/Target/Mips/MipsISelLowering.cpp index 3dfd334..a2fef46 100644 --- a/lib/Target/Mips/MipsISelLowering.cpp +++ b/lib/Target/Mips/MipsISelLowering.cpp @@ -95,7 +95,7 @@ MipsTargetLowering(MipsTargetMachine &TM): TargetLowering(TM) setOperationAction(ISD::SRL_PARTS, MVT::i32, Expand); // We don't have line number support yet. - setOperationAction(ISD::LOCATION, MVT::Other, Expand); + setOperationAction(ISD::DBG_STOPPOINT, MVT::Other, Expand); setOperationAction(ISD::DEBUG_LOC, MVT::Other, Expand); setOperationAction(ISD::LABEL, MVT::Other, Expand); |