aboutsummaryrefslogtreecommitdiffstats
path: root/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
commit26207e5bf1123a793bd9b38bcda2f569a6b45ef2 (patch)
tree6f8cfe636b0786c8e89fc7072bb060b4e659d9b9 /lib/Target/PowerPC
parentc60e0bec11ab791968de8959794768ad45fccd4d (diff)
downloadexternal_llvm-26207e5bf1123a793bd9b38bcda2f569a6b45ef2.zip
external_llvm-26207e5bf1123a793bd9b38bcda2f569a6b45ef2.tar.gz
external_llvm-26207e5bf1123a793bd9b38bcda2f569a6b45ef2.tar.bz2
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83006 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC')
-rw-r--r--lib/Target/PowerPC/PPCCodeEmitter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PPCCodeEmitter.cpp b/lib/Target/PowerPC/PPCCodeEmitter.cpp
index 3d62f2b..16d55a3 100644
--- a/lib/Target/PowerPC/PPCCodeEmitter.cpp
+++ b/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: