diff options
| author | Nick Desaulniers <ndesaulniers@google.com> | 2021-12-13 11:18:20 -0800 |
|---|---|---|
| committer | Nick Desaulniers <ndesaulniers@google.com> | 2021-12-13 11:18:30 -0800 |
| commit | 95ba0e45638ee5c6ba97ca971ddc01132e24a179 (patch) | |
| tree | 112f4664b31f35965f7cca21e88db876ca002aed /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 8ed70d0189ba21fa25066e49d6c1ed04359abf4b (diff) | |
[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
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
