diff options
author | Chris Lattner <sabre@nondot.org> | 2009-03-18 00:43:52 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-03-18 00:43:52 +0000 |
commit | a6bed3e9502d5580a05284a27229be3c3d02cd65 (patch) | |
tree | 236c3f75b6da0062f5271606fc8c2952b4ab5bd1 /llvm/test/FrontendC++/2009-03-17-dbg.cpp | |
parent | 6bfde496ee8bc71e160c8a1a7a21064f29d6db26 (diff) | |
download | bcm5719-llvm-a6bed3e9502d5580a05284a27229be3c3d02cd65.tar.gz bcm5719-llvm-a6bed3e9502d5580a05284a27229be3c3d02cd65.zip |
Disable the "call to immediate" optimization on x86-64. It is
not safe in general because the immediate could be an arbitrary
value that does not fit in a 32-bit pcrel displacement.
Conservatively fall back to loading the value into a register
and calling through it.
We still do the optzn on X86-32.
llvm-svn: 67142
Diffstat (limited to 'llvm/test/FrontendC++/2009-03-17-dbg.cpp')
0 files changed, 0 insertions, 0 deletions