summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-11-11 15:52:29 +0000
committerDan Gohman <gohman@apple.com>2008-11-11 15:52:29 +0000
commit059c4fa8d876a96b31dff905a82018c088cb9666 (patch)
tree9f245fd435070096a69ee4f826a2fb05ad44f77b /llvm/lib/Target/Sparc
parent3987b17e2861c274b6dc2b96cc0f22645f0a8922 (diff)
downloadbcm5719-llvm-059c4fa8d876a96b31dff905a82018c088cb9666.tar.gz
bcm5719-llvm-059c4fa8d876a96b31dff905a82018c088cb9666.zip
The 32-bit displacement field in an x86 address is signed. Arrange for it
to be sign-extended when it is promoted to 64 bits for intermediate offset calculations. The offset calculations are done as uint64_t so that overflow conditions are well defined. This fixes a problem which is currently hidden by the x86 AsmPrinter but which was exposed by r58917 (which is temporarily reverted). See PR3027 for details. llvm-svn: 59044
Diffstat (limited to 'llvm/lib/Target/Sparc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud