mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
[FunctionAttrs] Remove redundant check. NFC
This commit is contained in:
parent
64799c106c
commit
2485eebd4f
@ -1346,8 +1346,6 @@ static bool inferAttrsFromFunctionBodies(const SCCNodeSet &SCCNodes) {
|
||||
}
|
||||
|
||||
static bool setDoesNotRecurse(Function &F) {
|
||||
if (F.doesNotRecurse())
|
||||
return false;
|
||||
F.setDoesNotRecurse();
|
||||
++NumNoRecurse;
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user