Nick Desaulniers 95ba0e4563 [SimplifyLibCalls] propagate tail flags on CallInsts
I noticed we weren't propagating tail flags on calls when
FortifiedLibCallSimplifier.optimizeCall() was replacing calls to runtime
checked calls to the non-checked routines (when safe to do so). Make
sure to check this before replacing the original calls!

Also, avoid any libcall transforms when notail/musttail is present.

PR46734
Fixes: https://github.com/llvm/llvm-project/issues/46079

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D107872
2021-12-13 11:18:30 -08:00
..
2020-12-08 15:36:47 +00:00
2021-04-13 09:48:13 +08:00
2021-02-15 14:27:12 +08:00
2021-09-17 15:48:55 +02:00
2021-07-27 12:09:25 +01:00
2021-08-16 13:13:56 +01:00
2021-05-24 12:09:02 -07:00
2020-12-08 15:36:47 +00:00
2021-02-21 21:25:26 +00:00