diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-03-15 00:03:38 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-03-15 00:03:38 +0000 |
commit | da47e6e0d003c873da960361549e57ee4617c301 (patch) | |
tree | 7aeba4e0c14a734364886783388f965e5854d4d9 /lib/Target/Alpha | |
parent | af59b105bb3f9a31f1812e470eb9db28a8a1b491 (diff) | |
download | external_llvm-da47e6e0d003c873da960361549e57ee4617c301.zip external_llvm-da47e6e0d003c873da960361549e57ee4617c301.tar.gz external_llvm-da47e6e0d003c873da960361549e57ee4617c301.tar.bz2 |
Replace all target specific implicit def instructions with a target independent one: TargetInstrInfo::IMPLICIT_DEF.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48380 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Alpha')
-rw-r--r-- | lib/Target/Alpha/AlphaCodeEmitter.cpp | 3 | ||||
-rw-r--r-- | lib/Target/Alpha/AlphaInstrInfo.td | 9 | ||||
-rw-r--r-- | lib/Target/Alpha/AlphaLLRP.cpp | 3 |
3 files changed, 0 insertions, 15 deletions
diff --git a/lib/Target/Alpha/AlphaCodeEmitter.cpp b/lib/Target/Alpha/AlphaCodeEmitter.cpp index 93ef28c..0ae99a9 100644 --- a/lib/Target/Alpha/AlphaCodeEmitter.cpp +++ b/lib/Target/Alpha/AlphaCodeEmitter.cpp @@ -95,9 +95,6 @@ void AlphaCodeEmitter::emitBasicBlock(MachineBasicBlock &MBB) { case Alpha::ALTENT: case Alpha::PCLABEL: case Alpha::MEMLABEL: - case Alpha::IDEF_I: - case Alpha::IDEF_F32: - case Alpha::IDEF_F64: break; //skip these } } diff --git a/lib/Target/Alpha/AlphaInstrInfo.td b/lib/Target/Alpha/AlphaInstrInfo.td index 1769ec2..ddefe85 100644 --- a/lib/Target/Alpha/AlphaInstrInfo.td +++ b/lib/Target/Alpha/AlphaInstrInfo.td @@ -141,15 +141,6 @@ class CmpOpFrag<dag res> : PatFrag<(ops node:$R), res>; //Pseudo ops for selection -let isImplicitDef = 1 in { -def IDEF_I : PseudoInstAlpha<(outs GPRC:$RA), (ins), ";#idef $RA", - [(set GPRC:$RA, (undef))], s_pseudo>; -def IDEF_F32 : PseudoInstAlpha<(outs F4RC:$RA), (ins), ";#idef $RA", - [(set F4RC:$RA, (undef))], s_pseudo>; -def IDEF_F64 : PseudoInstAlpha<(outs F8RC:$RA), (ins), ";#idef $RA", - [(set F8RC:$RA, (undef))], s_pseudo>; -} - def WTF : PseudoInstAlpha<(outs), (ins variable_ops), "#wtf", [], s_pseudo>; let hasCtrlDep = 1, Defs = [R30], Uses = [R30] in { diff --git a/lib/Target/Alpha/AlphaLLRP.cpp b/lib/Target/Alpha/AlphaLLRP.cpp index 15d12c7..f4dd199 100644 --- a/lib/Target/Alpha/AlphaLLRP.cpp +++ b/lib/Target/Alpha/AlphaLLRP.cpp @@ -120,9 +120,6 @@ namespace { case Alpha::ALTENT: case Alpha::MEMLABEL: case Alpha::PCLABEL: - case Alpha::IDEF_I: - case Alpha::IDEF_F32: - case Alpha::IDEF_F64: --count; break; case Alpha::BR: |