Skip to content
Commit a6bed3e9 authored by Chris Lattner's avatar Chris Lattner
Browse files

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
parent 6bfde496
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment