Disable tail calls if there is an swifterror argument
authorArnold Schwaighofer <aschwaighofer@apple.com>
Wed, 21 Sep 2016 16:53:36 +0000 (16:53 +0000)
committerArnold Schwaighofer <aschwaighofer@apple.com>
Wed, 21 Sep 2016 16:53:36 +0000 (16:53 +0000)
commitde2490d0dcff0dd4358456d94f88bdf99859fb5c
tree18fcc282a44fb6a3bd01c8b6003322ac305935e9
parent15869f86d84927ceb965eb5eaecabf523d8c7eb9
Disable tail calls if there is an swifterror argument

ISel does not handle them correctly yet i.e we crash trying to emit tail call
code.

radar://28407842

llvm-svn: 282088
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
llvm/test/CodeGen/AArch64/swifterror.ll
llvm/test/CodeGen/ARM/swifterror.ll
llvm/test/CodeGen/X86/swifterror.ll