Skip to content
  • Jim Grosbach's avatar
    Disable InstCombine unsafe folding bitcasts of calls w/ varargs. · 9fa04815
    Jim Grosbach authored
    Changing arguments from being passed as fixed to varargs is unsafe, as
    the ABI may require they be handled differently (stack vs. register, for
    example).
    
    Remove two tests which rely on the bitcast being folded into the direct
    call, which is exactly the transformation that's unsafe.
    
    llvm-svn: 149457
    9fa04815
Loading