This is an archive of the discontinued LLVM Phabricator instance.

[SimplifyLibcalls] Remove the hasOneUse() limitation on the malloc
AbandonedPublic

Authored by xbolva00 on Apr 6 2018, 11:17 AM.

Details

Reviewers
spatel
lebedev.ri
Summary

Discussion and part of https://reviews.llvm.org/D45344

The reason that's there is discussed in D16337 - the transform must be made safe from intermediate stores.

Diff Detail

Event Timeline

xbolva00 created this revision.Apr 6 2018, 11:17 AM
xbolva00 updated this revision to Diff 141387.Apr 6 2018, 11:19 AM
xbolva00 retitled this revision from [InstCombine] Remove the hasOneUse() limitation on the malloc to [SimplifyLibcalls] Remove the hasOneUse() limitation on the malloc.Apr 6 2018, 3:13 PM
xbolva00 edited the summary of this revision. (Show Details)
xbolva00 abandoned this revision.Apr 7 2018, 4:36 AM