summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/PostRAHazardRecognizer.cpp
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2017-02-21 15:08:18 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2017-02-21 15:08:18 +0000
commitae4761c18679f267fdb4ec0d47d5cff816134849 (patch)
treecaaeb7adf7f88bc427d827bcb8beafc52ffd9f63 /llvm/lib/CodeGen/PostRAHazardRecognizer.cpp
parent0c094f504c2679a5b389fa79a7d10c568f511014 (diff)
downloadbcm5719-llvm-ae4761c18679f267fdb4ec0d47d5cff816134849.tar.gz
bcm5719-llvm-ae4761c18679f267fdb4ec0d47d5cff816134849.zip
[ELF] - Postpone evaluation of LMA offset.
Previously we evaluated the values of LMA incorrectly for next cases: .text : AT(ADDR(.text) - 0xffffffff80000000) { ... } .data : AT(ADDR(.data) - 0xffffffff80000000) { ... } .init.begin : AT(ADDR(.init.begin) - 0xffffffff80000000) { ... } Reason was that we evaluated offset when VA was not assigned. For case above we ended up with 3 loads that has similar LMA and it was incorrect. That is critical for linux kernel. Patch updates the offset after VA calculation. That fixes the issue. Differential revision: https://reviews.llvm.org/D30163 llvm-svn: 295722
Diffstat (limited to 'llvm/lib/CodeGen/PostRAHazardRecognizer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud