While reading LICM I noticed we had code that uses new/deletes all around LICM to handle AliasSetTracker.
I decided to try and modernize it using unique_ptr<>.
Paths
| Differential D51024
[LICM] Modernize AliasSetTracker handling. NFC ClosedPublic Authored by kariddi on Aug 20 2018, 8:33 PM.
Details Summary While reading LICM I noticed we had code that uses new/deletes all around LICM to handle AliasSetTracker. I decided to try and modernize it using unique_ptr<>.
Diff Detail
Event TimelineComment Actions Happy to take a look at this, but Alina has been looking a lot at LICM and related code so wanted to see if she has thoughts first. Comment Actions Yeah sure, thanks for suggesting the right person Chandler! In the meantime added a full diff patch and a little nitpick This revision is now accepted and ready to land.Aug 21 2018, 11:08 AM Closed by commit rL340333: [LICM] Refactor some AliasSetTracker code to get rid of new/deletes. NFC (authored by mggm). · Explain WhyAug 21 2018, 1:31 PM This revision was automatically updated to reflect the committed changes.
Diff 161808 llvm/trunk/lib/Transforms/Scalar/LICM.cpp
|