llvm-project/llvm
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
..
benchmarks
bindings
cmake Quote some more destination paths with variables 2021-12-13 17:29:08 +00:00
docs [VP] [NFC] Fix vp_store signature and vp_gather examples 2021-12-13 17:53:19 +00:00
examples Revert "Revert "Revert "Use `GNUInstallDirs` to support custom installation dirs. -- LLVM""" 2021-12-10 17:33:54 -08:00
include [VP] [NFC] Fix vp_store signature and vp_gather examples 2021-12-13 17:53:19 +00:00
lib [SimplifyLibCalls] propagate tail flags on CallInsts 2021-12-13 11:18:30 -08:00
projects
resources
runtimes
test [SimplifyLibCalls] propagate tail flags on CallInsts 2021-12-13 11:18:30 -08:00
tools [ThinLTO] Fix nondeterministic exit on error. 2021-12-13 10:08:39 -08:00
unittests [ConstantsTest] Avoid crash with opaque pointers 2021-12-13 15:23:12 +01:00
utils [gn build] Port 78b0f3701d 2021-12-13 15:53:45 +00:00
.clang-format
.clang-tidy
.gitattributes
.gitignore
CMakeLists.txt [llvm] [Debuginfod] Disable CURL by default. 2021-12-13 17:39:53 +00:00
CODE_OWNERS.TXT
CREDITS.TXT
LICENSE.TXT
README.txt
RELEASE_TESTERS.TXT
configure
llvm.spec.in

README.txt

The LLVM Compiler Infrastructure
================================

This directory and its subdirectories contain source code for LLVM,
a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the documentation provided in docs/ for further
assistance with LLVM, and in particular docs/GettingStarted.rst for getting
started with LLVM and docs/README.txt for an overview of LLVM's
documentation setup.

If you are writing a package for LLVM, see docs/Packaging.rst for our
suggestions.