This is an archive of the discontinued LLVM Phabricator instance.

[MBP] Use Function::optForSize() instead of checking OptimizeForSize directly.
ClosedPublic

Authored by haicheng on Apr 29 2016, 1:25 PM.

Details

Summary

Fix a FIXME. Disable loop alignment if compiled with -Oz now.

Diff Detail

Repository
rL LLVM

Event Timeline

haicheng updated this revision to Diff 55655.Apr 29 2016, 1:25 PM
haicheng retitled this revision from to [MBP] Use Function::optForSize() instead of checking OptimizeForSize directly..
haicheng updated this object.
haicheng set the repository for this revision to rL LLVM.
iteratee accepted this revision.Apr 29 2016, 1:27 PM
iteratee added a reviewer: iteratee.

This looks fine. Thanks for fixing it.

This revision is now accepted and ready to land.Apr 29 2016, 1:27 PM
haicheng closed this revision.May 1 2016, 6:51 PM

Committed in r268121. Thank you, Kyle.