diff options
author | Louis Dionne <ldionne.2@gmail.com> | 2024-10-17 16:16:15 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-17 16:16:15 -0400 |
commit | e2d07fc3d8737c08d351e841f82911a5c3ddf433 (patch) | |
tree | bbbdec29d736e421a0bcd478eda7161b206613ef /llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp | |
parent | 8c77f4c5087ac5a8e5dc08e472cf06897689a68b (diff) | |
download | llvm-e2d07fc3d8737c08d351e841f82911a5c3ddf433.zip llvm-e2d07fc3d8737c08d351e841f82911a5c3ddf433.tar.gz llvm-e2d07fc3d8737c08d351e841f82911a5c3ddf433.tar.bz2 |
[libc++] Mark libc++ deallocation helpers as noexcept (#110884)
They already can't throw exceptions and they are called from noexcept
functions, but they were not marked as noexcept. Depending on compiler
inlining, this might not make a difference or this might improve the
codegen a bit by removing the implicit try-catch block that Clang
generates around non-noexcept functions called from noexcept functions.
The original issue also mentioned that one occurrence of
std::allocator::deallocate was missing noexcept, however it has since
then been removed.
Fixes #66100
Diffstat (limited to 'llvm/lib/Transforms/Utils/ScalarEvolutionExpander.cpp')
0 files changed, 0 insertions, 0 deletions