[FunctionAttrs] Move nosync inference into inferAttrsFromFunctionBodies() (NFC)
authorNikita Popov <npopov@redhat.com>
Wed, 22 Feb 2023 09:23:11 +0000 (10:23 +0100)
committerNikita Popov <npopov@redhat.com>
Wed, 22 Feb 2023 09:50:06 +0000 (10:50 +0100)
commit718cea8e6864b9d185f14ee361fce77dc32c5cb8
tree835e98df33bf6bb8a6ee0be3768a62e28ddbb9fd
parentbafc4dfc764587de577a354e459ea351b43fdb43
[FunctionAttrs] Move nosync inference into inferAttrsFromFunctionBodies() (NFC)

There doesn't appear to be any reason why this attribute is
inferred separately from other ones that use AttributeInferer.
llvm/lib/Transforms/IPO/FunctionAttrs.cpp