[llvm] r331159 - [X86] Remove some InstAliases aren't needed because a MnemonicAlias makes them unreachable.
Craig Topper via llvm-commits
llvm-commits at lists.llvm.org
Sun Apr 29 23:21:22 PDT 2018
Author: ctopper
Date: Sun Apr 29 23:21:22 2018
New Revision: 331159
URL: http://llvm.org/viewvc/llvm-project?rev=331159&view=rev
Log:
[X86] Remove some InstAliases aren't needed because a MnemonicAlias makes them unreachable.
Modified:
llvm/trunk/lib/Target/X86/X86InstrInfo.td
Modified: llvm/trunk/lib/Target/X86/X86InstrInfo.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86InstrInfo.td?rev=331159&r1=331158&r2=331159&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86InstrInfo.td (original)
+++ llvm/trunk/lib/Target/X86/X86InstrInfo.td Sun Apr 29 23:21:22 2018
@@ -3172,11 +3172,8 @@ def : InstAlias<"ljmp\t$seg, $off", (FA
def : InstAlias<"lcall\t{*}$dst", (FARCALL16m opaque32mem:$dst), 0>, Requires<[In16BitMode]>;
def : InstAlias<"ljmp\t{*}$dst", (FARJMP16m opaque32mem:$dst), 0>, Requires<[In16BitMode]>;
-def : InstAlias<"call\t{*}$dst", (CALL64m i64mem:$dst), 0, "att">, Requires<[In64BitMode]>;
def : InstAlias<"jmp\t{*}$dst", (JMP64m i64mem:$dst), 0, "att">, Requires<[In64BitMode]>;
-def : InstAlias<"call\t{*}$dst", (CALL32m i32mem:$dst), 0, "att">, Requires<[In32BitMode]>;
def : InstAlias<"jmp\t{*}$dst", (JMP32m i32mem:$dst), 0, "att">, Requires<[In32BitMode]>;
-def : InstAlias<"call\t{*}$dst", (CALL16m i16mem:$dst), 0, "att">, Requires<[In16BitMode]>;
def : InstAlias<"jmp\t{*}$dst", (JMP16m i16mem:$dst), 0, "att">, Requires<[In16BitMode]>;
More information about the llvm-commits
mailing list