Fix a FIXME. Disable loop alignment if compiled with -Oz now.
Diff Detail
Diff Detail
- Repository
- rL LLVM
| Paths 
 |  Differential  D19741  
[MBP] Use Function::optForSize() instead of checking OptimizeForSize directly. ClosedPublic Authored by haicheng on Apr 29 2016, 1:25 PM. 
Details 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Apr 29 2016, 1:27 PM 
Revision Contents 
 
Diff 55655 lib/CodeGen/MachineBlockPlacement.cpp
 test/CodeGen/PowerPC/code-align.ll
 test/CodeGen/X86/loop-blocks.ll
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||