In short, these options can be used to override the target specified preferred/minimum function/loop alignments for testing purposes.
Chad
Paths
| Differential D15648
Add command line options to force function/loop alignments. ClosedPublic Authored by mcrosier on Dec 18 2015, 10:16 AM.
Details
Diff Detail Event Timeline
mcrosier retitled this revision from Add command line options to override target preferred/minimum function/loop alignments. to Add command line options to force function/loop alignments.. mcrosier updated this object. Comment ActionsA more straight forward solution. Comment Actions LGTM with one caveat: we should double-check that the MachineBlock emission handles the case where the padding instruction bytes could be executed (i.e. that it knows to emit nops instead of just zeros). Comment Actions
I didn't run into any issues across Spec200X. LGTM, per Geoff. This revision is now accepted and ready to land.Dec 29 2015, 10:21 AM
Revision Contents
Diff 43485 lib/CodeGen/MachineBlockPlacement.cpp
lib/CodeGen/MachineFunction.cpp
|
If you move the max up before the if, you don't need to change the !Align check.