This is an archive of the discontinued LLVM Phabricator instance.

Mark intrinsics as norecurse
Needs ReviewPublic

Authored by Prazek on Jun 5 2017, 4:32 AM.

Details

Reviewers
hfinkel
sanjoy
Summary

This patch marks almost all intrinsics as
norecurse. Before this if function called intrinsic it would
not be marked as norecursive.

Event Timeline

Prazek created this revision.Jun 5 2017, 4:32 AM
dberlin added inline comments.
test/Transforms/InstCombine/AMDGPU/amdgcn-intrinsics.ll
1540

I don't see any real changes in this test?

Prazek added inline comments.Jun 5 2017, 9:39 AM
test/Transforms/InstCombine/AMDGPU/amdgcn-intrinsics.ll
1540

I will add more attributes check here. Probably one function was marked as norecurse and the attributes switched numbers.

dstenb added a subscriber: dstenb.Oct 16 2017, 8:02 AM

Unless I'm mistaken, int_experimental_gc_statepoint should also be marked recursive?

What's the status here? How can we make this go in?

bjope added a subscriber: bjope.Dec 16 2019, 2:26 PM
jmorse added a subscriber: jmorse.Dec 17 2019, 3:08 AM
sanjoy resigned from this revision.Jan 29 2022, 5:33 PM