diff options
author | George Rimar <grimar@accesssoftek.com> | 2016-06-01 16:45:30 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2016-06-01 16:45:30 +0000 |
commit | f10c8290fac5b16511ac48d676c50765eb92ddae (patch) | |
tree | 8eb83833a8ea108c358b4c005275bfeccfffe709 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
parent | f817731a191471f9397a034674cb6743209b0273 (diff) | |
download | llvm-f10c8290fac5b16511ac48d676c50765eb92ddae.zip llvm-f10c8290fac5b16511ac48d676c50765eb92ddae.tar.gz llvm-f10c8290fac5b16511ac48d676c50765eb92ddae.tar.bz2 |
[ELF] - Implemented support for test/binop relaxations from latest ABI.
Patch implements next relaxation from latest ABI:
"Convert memory operand of test and binop into immediate operand, where binop is one of adc, add, and, cmp, or,
sbb, sub, xor instructions, when position-independent code is disabled."
It is described in System V Application Binary Interface AMD64 Architecture Processor
Supplement Draft Version 0.99.8 (https://github.com/hjl-tools/x86-psABI/wiki/x86-64-psABI-r249.pdf,
B.2 "B.2 Optimize GOTPCRELX Relocations").
Differential revision: http://reviews.llvm.org/D20793
llvm-svn: 271405
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions