From: Craig Topper Date: Sun, 29 Apr 2018 04:06:02 +0000 (+0000) Subject: [X86] Remove unnecessary InstAliases. NFCI X-Git-Tag: llvmorg-7.0.0-rc1~7136 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8e3dbfd725eb8283deaf27cccff0993d09bbb99d;p=platform%2Fupstream%2Fllvm.git [X86] Remove unnecessary InstAliases. NFCI These used to disambiguate MOV16ms/MOV16sm from other size instructions that no longer exist. llvm-svn: 331134 --- diff --git a/llvm/lib/Target/X86/X86InstrInfo.td b/llvm/lib/Target/X86/X86InstrInfo.td index 362eb6f..0cdf7ad 100644 --- a/llvm/lib/Target/X86/X86InstrInfo.td +++ b/llvm/lib/Target/X86/X86InstrInfo.td @@ -3214,12 +3214,6 @@ def : InstAlias<"jmpw\t$seg, $off", (FARJMP16i i16imm:$off, i16imm:$seg)>, Req def : InstAlias<"calll\t$seg, $off", (FARCALL32i i32imm:$off, i16imm:$seg)>, Requires<[Not64BitMode]>; def : InstAlias<"jmpl\t$seg, $off", (FARJMP32i i32imm:$off, i16imm:$seg)>, Requires<[Not64BitMode]>; -// Force mov without a suffix with a segment and mem to prefer the 'l' form of -// the move. All segment/mem forms are equivalent, this has the shortest -// encoding. -def : InstAlias<"mov\t{$mem, $seg|$seg, $mem}", (MOV16sm SEGMENT_REG:$seg, i16mem:$mem), 0>; -def : InstAlias<"mov\t{$seg, $mem|$mem, $seg}", (MOV16ms i16mem:$mem, SEGMENT_REG:$seg), 0>; - // Match 'movq , ' as an alias for movabsq. def : InstAlias<"mov{q}\t{$imm, $reg|$reg, $imm}", (MOV64ri GR64:$reg, i64imm:$imm), 0>;