aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-01-10 19:27:54 +0000
committerChris Lattner <sabre@nondot.org>2008-01-10 19:27:54 +0000
commitb38bec222c2cda1b905084400b9e91afbc30f985 (patch)
treefce9b0ed957b0687c7764be9f2a5ac38dfe2af3e
parent8372601521c50179b682a8a743191e416d4cfee0 (diff)
downloadexternal_llvm-b38bec222c2cda1b905084400b9e91afbc30f985.zip
external_llvm-b38bec222c2cda1b905084400b9e91afbc30f985.tar.gz
external_llvm-b38bec222c2cda1b905084400b9e91afbc30f985.tar.bz2
IMPLICIT_USE and IMPLICIT_DEF are dead, remove them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45838 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/X86/X86CodeEmitter.cpp2
-rw-r--r--lib/Target/X86/X86InstrInfo.td5
2 files changed, 0 insertions, 7 deletions
diff --git a/lib/Target/X86/X86CodeEmitter.cpp b/lib/Target/X86/X86CodeEmitter.cpp
index bd9e5c6..485eeb5 100644
--- a/lib/Target/X86/X86CodeEmitter.cpp
+++ b/lib/Target/X86/X86CodeEmitter.cpp
@@ -603,8 +603,6 @@ void Emitter::emitInstruction(const MachineInstr &MI,
assert(0 && "JIT does not support inline asm!\n");
case TargetInstrInfo::LABEL:
assert(0 && "JIT does not support meta labels!\n");
- case X86::IMPLICIT_USE:
- case X86::IMPLICIT_DEF:
case X86::IMPLICIT_DEF_GR8:
case X86::IMPLICIT_DEF_GR16:
case X86::IMPLICIT_DEF_GR32:
diff --git a/lib/Target/X86/X86InstrInfo.td b/lib/Target/X86/X86InstrInfo.td
index b9426c7..1807c0d 100644
--- a/lib/Target/X86/X86InstrInfo.td
+++ b/lib/Target/X86/X86InstrInfo.td
@@ -263,12 +263,7 @@ def ADJCALLSTACKUP : I<0, Pseudo, (outs), (ins i32imm:$amt1, i32imm:$amt2),
"#ADJCALLSTACKUP",
[(X86callseq_end imm:$amt1, imm:$amt2)]>;
}
-def IMPLICIT_USE : I<0, Pseudo, (outs), (ins variable_ops),
- "#IMPLICIT_USE", []>;
let isImplicitDef = 1 in {
-let neverHasSideEffects = 1 in
-def IMPLICIT_DEF : I<0, Pseudo, (outs variable_ops), (ins),
- "#IMPLICIT_DEF", []>;
def IMPLICIT_DEF_GR8 : I<0, Pseudo, (outs GR8:$dst), (ins),
"#IMPLICIT_DEF $dst",
[(set GR8:$dst, (undef))]>;