[PATCH] D51469: [ARM] Use preferred alignment for constants in promoteToConstantPool.

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 7 11:27:09 PDT 2018


efriedma added a comment.

> Do we check anywhere that the global is not in a section?

Looks like no?  It's not particularly like to come up, I would guess: a constant with a section marking would usually also either have external linkage or be marked used (which would both suppress the transform).  But I'll write a followup patch.


Repository:
  rL LLVM

https://reviews.llvm.org/D51469





More information about the llvm-commits mailing list