[PowerPC] Bail out of FISel when lowering long calls
authorNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Thu, 16 Feb 2023 21:15:25 +0000 (16:15 -0500)
committerNemanja Ivanovic <nemanja.i.ibm@gmail.com>
Thu, 16 Feb 2023 21:15:32 +0000 (16:15 -0500)
commit56e41fcf50283f9a76aa65eaf76f118db3bfd1ba
tree1440f463607d9eb6442a970062ad155d97d96687
parentc2e248c6aea6396dbfe3bd3ed08ce587b5d63283
[PowerPC] Bail out of FISel when lowering long calls

We currently don't handle tail calls in fast-isel but
we continue with the lowering when -mlongcall is
specified and lower the calls normally. We should
defer to SDISel for this so that it is lowered correctly.

Differential revision: https://reviews.llvm.org/D123997
llvm/lib/Target/PowerPC/PPCFastISel.cpp
llvm/test/CodeGen/PowerPC/longcall.ll