aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PowerPC/PPCInstrInfo.td
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2006-01-05 01:25:28 +0000
committerJim Laskey <jlaskey@mac.com>2006-01-05 01:25:28 +0000
commitabf6d1784b2d4bbcb7d20ab64881f77d755059f6 (patch)
tree922ed43eb59093df7e5fa40d3b814177ed364d86 /lib/Target/PowerPC/PPCInstrInfo.td
parentd90eb7fb2435e2abedb4694edc44fa45642edbe9 (diff)
downloadexternal_llvm-abf6d1784b2d4bbcb7d20ab64881f77d755059f6.zip
external_llvm-abf6d1784b2d4bbcb7d20ab64881f77d755059f6.tar.gz
external_llvm-abf6d1784b2d4bbcb7d20ab64881f77d755059f6.tar.bz2
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
Diffstat (limited to 'lib/Target/PowerPC/PPCInstrInfo.td')
-rw-r--r--lib/Target/PowerPC/PPCInstrInfo.td11
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/Target/PowerPC/PPCInstrInfo.td b/lib/Target/PowerPC/PPCInstrInfo.td
index 3d3424d..66b1bad 100644
--- a/lib/Target/PowerPC/PPCInstrInfo.td
+++ b/lib/Target/PowerPC/PPCInstrInfo.td
@@ -955,11 +955,14 @@ def V_SET0 : VXForm_setzero<1220, (ops VRRC:$vD),
// DWARF Pseudo Instructions
//
-def DWARF_LOC : Pseudo<(ops i32imm:$line, i32imm:$col, i32imm:$file,
- i32imm:$id),
- "; .loc $file, $line, $col\nLdebug_loc$id:",
+def DWARF_LOC : Pseudo<(ops i32imm:$line, i32imm:$col, i32imm:$file),
+ "; .loc $file, $line, $col",
[(dwarf_loc (i32 imm:$line), (i32 imm:$col),
- (i32 imm:$file), (i32 imm:$id))]>;
+ (i32 imm:$file))]>;
+
+def DWARF_LABEL : Pseudo<(ops i32imm:$id),
+ "\nLdebug_loc$id:",
+ [(dwarf_label (i32 imm:$id))]>;
//===----------------------------------------------------------------------===//
// PowerPC Instruction Patterns