This is an archive of the discontinued LLVM Phabricator instance.

[FunctionAttrs] Remove old "returned" argument deduction
Needs RevisionPublic

Authored by jdoerfert on Mar 28 2019, 12:08 AM.

Details

Summary

This removes the old FunctionAttrs "returned" argument deduction.

The code is obsolete as the Attributor deduction is more powerful.

The test cases that were affected by the change now run both passes.

No impact on the statistics (-stats) for LLVM-TS + Spec2006, this code is made obsolete by D59919.

Event Timeline

jdoerfert created this revision.Mar 28 2019, 12:08 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 28 2019, 12:08 AM
jdoerfert edited the summary of this revision. (Show Details)Apr 1 2019, 8:11 AM
jdoerfert updated this revision to Diff 193116.Apr 1 2019, 9:54 AM

Minor changes

sanjoy removed a reviewer: sanjoy.Apr 1 2019, 11:06 AM
fhahn added a subscriber: fhahn.Apr 12 2019, 2:45 AM
reames requested changes to this revision.Mar 25 2020, 11:16 AM

Please post for review once attributor is actually enabled by default. Removing existing code before that point is inappropriate.

This revision now requires changes to proceed.Mar 25 2020, 11:16 AM