diff options
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCInstrInfo.td')
| -rw-r--r-- | llvm/lib/Target/PowerPC/PPCInstrInfo.td | 11 | 
1 files changed, 7 insertions, 4 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCInstrInfo.td b/llvm/lib/Target/PowerPC/PPCInstrInfo.td index 3d3424d17bc..66b1bad4b0d 100644 --- a/llvm/lib/Target/PowerPC/PPCInstrInfo.td +++ b/llvm/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  | 

