Skip to content
  • Chris Lattner's avatar
    Disable the "call to immediate" optimization on x86-64. It is · a6bed3e9
    Chris Lattner authored
    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
    a6bed3e9
Loading