From: Rafael Espindola Date: Sat, 18 Dec 2010 01:01:34 +0000 (+0000) Subject: Relax push instructions. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1ee03a835ebb79bee998191f89d2785228771fb1;p=oota-llvm.git Relax push instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122121 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86AsmBackend.cpp b/lib/Target/X86/X86AsmBackend.cpp index 934cd1c4f13..92d9206c034 100644 --- a/lib/Target/X86/X86AsmBackend.cpp +++ b/lib/Target/X86/X86AsmBackend.cpp @@ -188,6 +188,9 @@ static unsigned getRelaxedOpcodeArith(unsigned Op) { case X86::CMP32mi8: return X86::CMP32mi; case X86::CMP64ri8: return X86::CMP64ri32; case X86::CMP64mi8: return X86::CMP64mi32; + + // PUSH + case X86::PUSHi8: return X86::PUSHi32; } }