projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[X86] Fix incorrect/inefficient pushw encodings for x86-64 targets
[oota-llvm.git]
/
lib
/
Target
/
X86
/
MCTargetDesc
/
X86AsmBackend.cpp
diff --git
a/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
b/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
index 3e0dc1424609607a2c050846497aa753e34a1962..629802f5dc5e02ef58d57fad02ce9b38bf7760d4 100644
(file)
--- a/
lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
+++ b/
lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
@@
-220,7
+220,6
@@
static unsigned getRelaxedOpcodeArith(unsigned Op) {
case X86::PUSH32i8: return X86::PUSHi32;
case X86::PUSH16i8: return X86::PUSHi16;
case X86::PUSH64i8: return X86::PUSH64i32;
- case X86::PUSH64i16: return X86::PUSH64i32;
}
}