Files
llvm-6502/test/CodeGen/X86
Dan Gohman 4401361a2f Don't create TargetGlobalAddress nodes with offsets that don't fit
in the 32-bit signed offset field of addresses. Even though this
may be intended, some linkers refuse to relocate code where the
relocated address computation overflows.

Also, fix the sign-extension of constant offsets to use the
actual pointer size, rather than the size of the GlobalAddress
node, which may be different, for example on x86-64 where MVT::i32
is used when the address is being fit into the 32-bit displacement
field.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57885 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-21 03:38:42 +00:00
..
2008-10-16 08:56:46 +00:00
2008-10-01 15:07:14 +00:00
2008-08-29 22:59:13 +00:00
2008-09-05 20:04:37 +00:00
2008-08-21 23:04:49 +00:00
2008-09-27 01:56:22 +00:00
2008-09-27 01:56:22 +00:00
2008-09-27 01:56:22 +00:00