1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/test/CodeGen
Dan Gohman 847a83dbad 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.

llvm-svn: 57885
2008-10-21 03:38:42 +00:00
..
Alpha
ARM
CBackend
CellSPU remove an xfailed test. 2008-10-17 17:26:48 +00:00
CPP
Generic remove this test: it is xfailed anyway, and is failing for a reason 2008-10-17 17:26:19 +00:00
IA64
Mips
PowerPC Reapply r57699 with a fix to not crash on asms with multiple results. Unlike 2008-10-18 18:49:30 +00:00
SPARC
X86 Don't create TargetGlobalAddress nodes with offsets that don't fit 2008-10-21 03:38:42 +00:00