summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Thumb/2010-07-01-FuncAlign.ll
Commit message (Collapse)AuthorAgeFilesLines
* [MC] Use .p2align instead of .alignDan Gohman2016-01-261-1/+1
| | | | | | | | | | | | | | | For historic reasons, the behavior of .align differs between targets. Fortunately, there are alternatives, .p2align and .balign, which make the interpretation of the parameter explicit, and which behave consistently across targets. This patch teaches MC to use .p2align instead of .align, so that people reading code for multiple architectures don't have to remember which way each platform does its .align directive. Differential Revision: http://reviews.llvm.org/D16549 llvm-svn: 258750
* ARM function alignments were off by a power of two. svn 83242 changedBob Wilson2010-07-011-0/+6
getFunctionAlignment and the corresponding use of that value in the ARM asm printer, but now we're using the standard asm printer. The result of this was that function alignments were dropped completely for Thumb functions. Radar 8143571. llvm-svn: 107435
OpenPOWER on IntegriCloud