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

Haicheng Wu via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 29 13:25:17 PDT 2016


haicheng created this revision.
haicheng added reviewers: mcrosier, gberry, mssimpso, deadalnix.
haicheng added subscribers: llvm-commits, iteratee, hfinkel, spatel.
haicheng set the repository for this revision to rL LLVM.
Herald added a subscriber: mcrosier.

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

Repository:
  rL LLVM

http://reviews.llvm.org/D19741

Files:
  lib/CodeGen/MachineBlockPlacement.cpp
  test/CodeGen/PowerPC/code-align.ll
  test/CodeGen/X86/loop-blocks.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19741.55655.patch
Type: text/x-patch
Size: 3043 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160429/1cdef9b7/attachment.bin>


More information about the llvm-commits mailing list