[llvm-commits] [llvm] r48447 - in /llvm/trunk/lib/Target: Alpha/AlphaCodeEmitter.cpp PowerPC/PPCCodeEmitter.cpp X86/X86CodeEmitter.cpp
Evan Cheng
evan.cheng at apple.com
Sun Mar 16 23:56:52 PDT 2008
Author: evancheng
Date: Mon Mar 17 01:56:52 2008
New Revision: 48447
URL: http://llvm.org/viewvc/llvm-project?rev=48447&view=rev
Log:
Unbreak JIT. Ignore TargetInstrInfo::IMPLICIT_DEF.
Modified:
llvm/trunk/lib/Target/Alpha/AlphaCodeEmitter.cpp
llvm/trunk/lib/Target/PowerPC/PPCCodeEmitter.cpp
llvm/trunk/lib/Target/X86/X86CodeEmitter.cpp
Modified: llvm/trunk/lib/Target/Alpha/AlphaCodeEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Alpha/AlphaCodeEmitter.cpp?rev=48447&r1=48446&r2=48447&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Alpha/AlphaCodeEmitter.cpp (original)
+++ llvm/trunk/lib/Target/Alpha/AlphaCodeEmitter.cpp Mon Mar 17 01:56:52 2008
@@ -95,6 +95,7 @@
case Alpha::ALTENT:
case Alpha::PCLABEL:
case Alpha::MEMLABEL:
+ case TargetInstrInfo::IMPLICIT_DEF:
break; //skip these
}
}
Modified: llvm/trunk/lib/Target/PowerPC/PPCCodeEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCCodeEmitter.cpp?rev=48447&r1=48446&r2=48447&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCCodeEmitter.cpp (original)
+++ llvm/trunk/lib/Target/PowerPC/PPCCodeEmitter.cpp Mon Mar 17 01:56:52 2008
@@ -112,6 +112,8 @@
case TargetInstrInfo::LABEL:
MCE.emitLabel(MI.getOperand(0).getImm());
break;
+ case TargetInstrInfo::IMPLICIT_DEF:
+ break; // pseudo opcode, no side effects
case PPC::MovePCtoLR:
case PPC::MovePCtoLR8:
assert(TM.getRelocationModel() == Reloc::PIC_);
Modified: llvm/trunk/lib/Target/X86/X86CodeEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86CodeEmitter.cpp?rev=48447&r1=48446&r2=48447&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86CodeEmitter.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86CodeEmitter.cpp Mon Mar 17 01:56:52 2008
@@ -621,6 +621,7 @@
case TargetInstrInfo::LABEL:
MCE.emitLabel(MI.getOperand(0).getImm());
break;
+ case TargetInstrInfo::IMPLICIT_DEF:
case TargetInstrInfo::DECLARE:
case X86::DWARF_LOC:
case X86::FP_REG_KILL:
More information about the llvm-commits
mailing list