summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorMichael Kuperstein <michael.m.kuperstein@intel.com>2015-07-01 10:54:42 +0000
committerMichael Kuperstein <michael.m.kuperstein@intel.com>2015-07-01 10:54:42 +0000
commit21a3c184436acff043ed543d95938ebbfa382990 (patch)
tree6904ad917956366a4eb31ccbe698e9e8d7722719 /llvm/tools/llvm-objdump/llvm-objdump.cpp
parent942eca7e48eeaf005d65572c01bab67d3e360f38 (diff)
downloadbcm5719-llvm-21a3c184436acff043ed543d95938ebbfa382990.tar.gz
bcm5719-llvm-21a3c184436acff043ed543d95938ebbfa382990.zip
[X86] Avoid over-relaxation of 8-bit immediates in integer arithmetic instructions.
Only consider an instruction a candidate for relaxation if the last operand of the instruction is an expression. We previously checked whether any operand is an expression, which is useless, since for all instructions concerned, the only operand that may be affected by relaxation is the last one. In addition, this removes the check for having RIP as an argument, since it was plain wrong - even when one of the arguments is RIP, relaxation may still be needed. This fixes PR9807. Patch by: david.l.kreitzer@intel.com Differential Revision: http://reviews.llvm.org/D10766 llvm-svn: 241152
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud