From 502c5bb42839d8acfab10f1ef05da12ebbf76f9e Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Thu, 15 Dec 2005 08:31:04 +0000 Subject: [PATCH] Added frameindex, constpool, globaladdr, and externalsym as root nodes of leaaddr. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24724 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/X86/X86InstrInfo.td | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/Target/X86/X86InstrInfo.td b/lib/Target/X86/X86InstrInfo.td index 826ea412141..10c9d487ef3 100644 --- a/lib/Target/X86/X86InstrInfo.td +++ b/lib/Target/X86/X86InstrInfo.td @@ -48,7 +48,9 @@ def brtarget : Operand; // Define X86 specific addressing mode. def addr : ComplexPattern; -def leaaddr : ComplexPattern; +def leaaddr : ComplexPattern; // Format specifies the encoding used by the instruction. This is part of the // ad-hoc solution used to emit machine instruction encodings by our machine @@ -327,7 +329,6 @@ def LEA32r : I<0x8D, MRMSrcMem, "lea{l} {$src|$dst}, {$dst|$src}", [(set R32:$dst, leaaddr:$src)]>; - def REP_MOVSB : I<0xA4, RawFrm, (ops), "{rep;movsb|rep movsb}", []>, Imp<[ECX,EDI,ESI], [ECX,EDI,ESI]>, REP; def REP_MOVSW : I<0xA5, RawFrm, (ops), "{rep;movsw|rep movsw}", []>,