This is an archive of the discontinued LLVM Phabricator instance.

[2/3] [SimplifyLibCalls] Refactor str/mem libcall handling: Factor out str/mem libcall optimizations
ClosedPublic

Authored by ab on Dec 4 2014, 2:08 PM.

Details

Summary

Put them in a separate function, so we can reuse them to further simplify fortified libcalls as well.

Diff Detail

Event Timeline

ab updated this revision to Diff 16951.Dec 4 2014, 2:08 PM
ab retitled this revision from to [2/3] [SimplifyLibCalls] Refactor str/mem libcall handling: Factor out str/mem libcall optimizations.
ab updated this object.
ab edited the test plan for this revision. (Show Details)
ab added a reviewer: echristo.
ab added a subscriber: Unknown Object (MLST).
echristo accepted this revision.Jan 8 2015, 10:00 AM
echristo edited edge metadata.

Checking inside the function for the name before doing things feels a bit icky, but I see where you're going with this and don't have a better idea at the moment.

LGTM.

-eric

This revision is now accepted and ready to land.Jan 8 2015, 10:00 AM
This revision was automatically updated to reflect the committed changes.