This is an archive of the discontinued LLVM Phabricator instance.

Remove PreserveNames template parameter from IRBuilder
ClosedPublic

Authored by mehdi_amini on Mar 9 2016, 6:23 PM.

Details

Summary

Following r263086, we are now relying on a flag on the Context to
discard Value names in release builds.

Diff Detail

Event Timeline

mehdi_amini updated this revision to Diff 50223.Mar 9 2016, 6:23 PM
mehdi_amini retitled this revision from to Remove PreserveNames template parameter from IRBuilder.
mehdi_amini updated this object.
mehdi_amini added a reviewer: chandlerc.
mehdi_amini added a subscriber: llvm-commits.
rafael accepted this revision.Mar 10 2016, 7:40 AM
rafael added a reviewer: rafael.
rafael added a subscriber: rafael.

This is awesome. The cases where you removed a hard coded 'true' show the value of having this being a central flag.

This revision is now accepted and ready to land.Mar 10 2016, 7:40 AM
chandlerc accepted this revision.Mar 11 2016, 12:52 AM
chandlerc edited edge metadata.

Indeed. This is awesome. =D