This is an archive of the discontinued LLVM Phabricator instance.

[SimplifyLibcalls] [NFC] Cleanup, improvements
ClosedPublic

Authored by xbolva00 on May 25 2018, 4:06 PM.

Details

Summary
  • Use "find('%')" instead of loop to find '%' char (we already uses find('%') in optimizePrintFString..)
  • Convert getParent() chains to getModule()/getFunction()

Diff Detail

Repository
rL LLVM

Event Timeline

xbolva00 created this revision.May 25 2018, 4:06 PM
xbolva00 edited the summary of this revision. (Show Details)May 26 2018, 5:06 AM
spatel accepted this revision.May 31 2018, 6:57 AM

LGTM.

This revision is now accepted and ready to land.May 31 2018, 6:57 AM
This revision was automatically updated to reflect the committed changes.