Skip to content
  • Duncan Sands's avatar
    When transforming a call to a bitcast function into · 55e5090f
    Duncan Sands authored
    a direct call with cast parameters and cast return
    value (if any), instcombine was prepared to cast any
    non-void return value into any other, whether castable
    or not.  Add a new predicate for testing whether casting
    is valid, and check it both for the return value and
    (as a cleanup) for the parameters.
    
    llvm-svn: 45657
    55e5090f
Loading