This is an archive of the discontinued LLVM Phabricator instance.

[PartiallyInlineLibCalls] Remove WriteOnly attribute before adding ReadNone
Needs ReviewPublic

Authored by homerdin on Sep 13 2018, 8:57 AM.

Details

Reviewers
hfinkel
Summary

After https://reviews.llvm.org/D46313, the sqrt function will be marked with the WriteOnly attribute. This update will remove the WriteOnly attribute before adding the ReadNone attribute as having both WriteOnly and ReadNone is an assertion failure.

Diff Detail