Skip to content
  • Manman Ren's avatar
    Do not convert "call asm" to "invoke asm" in Inliner. · 87a2adc7
    Manman Ren authored
    Given that backend does not handle "invoke asm" correctly ("invoke asm" will be
    handled by SelectionDAGBuilder::visitInlineAsm, which does not have the right
    setup for LPadToCallSiteMap) and we already made the assumption that inline asm
    does not throw in InstCombiner::visitCallSite, we are going to make the same
    assumption in Inliner to make sure we don't convert "call asm" to "invoke asm".
    
    If it becomes necessary to add support for "invoke asm" later on, we will need
    to modify the backend as well as remove the assumptions that inline asm does
    not throw.
    
    Fix rdar://15317907
    
    llvm-svn: 193808
    87a2adc7
Loading