[PATCH] D14934: [ARM] Generate ABI_optimization_goals build attribute, as described in the ARM ARM.

A. Skrobov via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 23 13:53:25 PST 2015


tyomitch created this revision.
tyomitch added reviewers: logan, hans.
tyomitch added a subscriber: llvm-commits.
Herald added subscribers: rengolin, aemerson.

Since this build attribute corresponds to a whole module, and
different functions in a module may differ in the optimizations
enabled for them, this attribute is emitted after all functions,
and only in the case that the optimization goals for all
functions match.

http://reviews.llvm.org/D14934

Files:
  lib/Target/ARM/ARMAsmPrinter.cpp
  lib/Target/ARM/ARMAsmPrinter.h
  test/CodeGen/ARM/build-attributes-optimization-minsize.ll
  test/CodeGen/ARM/build-attributes-optimization-mixed.ll
  test/CodeGen/ARM/build-attributes-optimization-optnone.ll
  test/CodeGen/ARM/build-attributes-optimization-optsize.ll
  test/CodeGen/ARM/build-attributes-optimization.ll
  test/MC/ARM/data-in-code.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14934.40972.patch
Type: text/x-patch
Size: 11123 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151123/8ec20ac7/attachment.bin>


More information about the llvm-commits mailing list