This is an archive of the discontinued LLVM Phabricator instance.

[llvm.noalias] add llvm.noalias to pointer use visitor.
Needs ReviewPublic

Authored by amehsan on Aug 16 2017, 2:00 PM.

Details

Reviewers
hfinkel
Summary

This lets SROA (and pontentially other users of PtrUseVisitor) see through llvm.noalias intrinsic. Without this, SROA does misses some optimization opportunities because the pointers escapes through the intrinsic

Diff Detail

Event Timeline

amehsan created this revision.Aug 16 2017, 2:00 PM