[all-commits] [llvm/llvm-project] a3fdc3: [FunctionAttrs] Remove dead code code in nocapture...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Thu Jan 30 07:28:46 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a3fdc36ac97fc7ed5e1e78564db8f58a6fa1103d
https://github.com/llvm/llvm-project/commit/a3fdc36ac97fc7ed5e1e78564db8f58a6fa1103d
Author: Nikita Popov <npopov at redhat.com>
Date: 2025-01-30 (Thu, 30 Jan 2025)
Changed paths:
M llvm/lib/Transforms/IPO/FunctionAttrs.cpp
Log Message:
-----------
[FunctionAttrs] Remove dead code code in nocaptures inference (NFCI)
An argument graph node without uses forms a trivial SCC, which will
already be handled by the preceding branch.
If a node in the SCC points to a node with empty uses, then it will
be part of a different SCC, and as such assumed to be capturing
if it does not have an attribute. There is no need to handle them
separately.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list