aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/ADT/SmallVectorTest.cpp
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2021-01-13 21:56:08 +0100
committerNikita Popov <nikita.ppv@gmail.com>2021-01-21 20:29:33 +0100
commit65fd034b95d69fa0e634861ee165b502ceb92a12 (patch)
tree9d6d988e028f402dee76494ba8a917b7404ac8e9 /llvm/unittests/ADT/SmallVectorTest.cpp
parentf2fd41d7897e1cc8fc6e9fb2ea46e5b6527852e4 (diff)
downloadllvm-65fd034b95d69fa0e634861ee165b502ceb92a12.zip
llvm-65fd034b95d69fa0e634861ee165b502ceb92a12.tar.gz
llvm-65fd034b95d69fa0e634861ee165b502ceb92a12.tar.bz2
[FunctionAttrs] Infer willreturn for functions without loops
If a function doesn't contain loops and does not call non-willreturn functions, then it is willreturn. Loops are detected by checking for backedges in the function. We don't attempt to handle finite loops at this point. Differential Revision: https://reviews.llvm.org/D94633
Diffstat (limited to 'llvm/unittests/ADT/SmallVectorTest.cpp')
0 files changed, 0 insertions, 0 deletions