Before we tried to rule out non-exact definitions early but that lead to
on-demand attributes created for them anyway. As a consequence we needed
to look at the definition in the initialize of each attribute again.
This patch centralized this lookup and tightens the condition under
which we give up on non-exact definitions.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM
llvm/test/Transforms/FunctionAttrs/arg_returned.ll | ||
---|---|---|
817 ↗ | (On Diff #218489) | %c3 should be replaced too. |