[PATCH] Fix for 9807. Avoid over-relaxation of 8-bit immediates in integer arithmetic instructions.
David Kreitzer
david.l.kreitzer at intel.com
Mon Jun 29 12:20:49 PDT 2015
I decided to go ahead and take care of the FIXME regarding RIP-relative memory references in relaxable arith instructions. I submitted https://llvm.org/bugs/show_bug.cgi?id=23986 and added a new regression test, relax-arith3.s, that illustrates the current problem and verifies that this new (and ultimately simpler) patch fixes it.
The patch passes "make check-all".
http://reviews.llvm.org/D10766
Files:
lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp
test/MC/ELF/relax-arith2.s
test/MC/ELF/relax-arith3.s
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10766.28701.patch
Type: text/x-patch
Size: 7673 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150629/723df212/attachment.bin>
More information about the llvm-commits
mailing list