summaryrefslogtreecommitdiff
path: root/lib/Target/MSP430/AsmPrinter
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2009-11-04 19:24:37 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2009-11-04 19:24:37 +0000
commitad68264f590f05db3731a452fc91dc22bc75167d (patch)
tree9dbb8109fb347bbc1b5738fa38cf11110c6e3a84 /lib/Target/MSP430/AsmPrinter
parent0fb7e18edd49f8df705a27e789eb925e18d4f44e (diff)
downloadllvm-ad68264f590f05db3731a452fc91dc22bc75167d.tar.gz
llvm-ad68264f590f05db3731a452fc91dc22bc75167d.tar.bz2
llvm-ad68264f590f05db3731a452fc91dc22bc75167d.tar.xz
Print out an informative comment for KILL instructions.
The KILL pseudo-instruction may survive to the asm printer pass, just like the IMPLICIT_DEF. Print the KILL as a comment instead of just leaving a blank line in the output. With -asm-verbose=0, a blank line is printed, like IMPLICIT?DEF. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86041 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/MSP430/AsmPrinter')
-rw-r--r--lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp b/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp
index 237c313aa1..11ac931b67 100644
--- a/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp
+++ b/lib/Target/MSP430/AsmPrinter/MSP430AsmPrinter.cpp
@@ -306,6 +306,7 @@ void MSP430AsmPrinter::printInstructionThroughMCStreamer(const MachineInstr *MI)
printLabel(MI);
return;
case TargetInstrInfo::KILL:
+ printKill(MI);
return;
case TargetInstrInfo::INLINEASM:
O << '\t';