summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2009-09-28 20:32:26 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2009-09-28 20:32:26 +0000
commitdc9efe8078baeb01466bfd710d868bd2afd98e82 (patch)
tree1b294f16e23f193aedc75f1b20a6b227feb60fe6 /llvm/lib/Target/PowerPC
parentc9c3917a864ea6ceab413fd0dce2824fdc6dbfd5 (diff)
downloadbcm5719-llvm-dc9efe8078baeb01466bfd710d868bd2afd98e82.tar.gz
bcm5719-llvm-dc9efe8078baeb01466bfd710d868bd2afd98e82.zip
Introduce the TargetInstrInfo::KILL machine instruction and get rid of the
unused DECLARE instruction. KILL is not yet used anywhere, it will replace TargetInstrInfo::IMPLICIT_DEF in the places where IMPLICIT_DEF is just used to alter liveness of physical registers. llvm-svn: 83006
Diffstat (limited to 'llvm/lib/Target/PowerPC')
-rw-r--r--llvm/lib/Target/PowerPC/PPCCodeEmitter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCCodeEmitter.cpp b/llvm/lib/Target/PowerPC/PPCCodeEmitter.cpp
index 3d62f2b8694..16d55a3ccdb 100644
--- a/llvm/lib/Target/PowerPC/PPCCodeEmitter.cpp
+++ b/llvm/lib/Target/PowerPC/PPCCodeEmitter.cpp
@@ -142,6 +142,7 @@ void Emitter<CodeEmitter>::emitBasicBlock(MachineBasicBlock &MBB) {
MCE.emitLabel(MI.getOperand(0).getImm());
break;
case TargetInstrInfo::IMPLICIT_DEF:
+ case TargetInstrInfo::KILL:
break; // pseudo opcode, no side effects
case PPC::MovePCtoLR:
case PPC::MovePCtoLR8:
OpenPOWER on IntegriCloud