summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/alignment.ll
Commit message (Collapse)AuthorAgeFilesLines
* [MC] Use .p2align instead of .alignDan Gohman2016-01-261-2/+2
| | | | | | | | | | | | | | | 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
* Add new line at end of file.Bill Wendling2011-09-301-1/+1
| | | | llvm-svn: 140903
* Fix a regression caused by r102515 where explicit alignment on globals isCameron Zwarich2011-04-131-3/+3
| | | | | | | ignored. There was a test to catch this, but it was just blindly updated in a large change. This fixes another part of <rdar://problem/9275290>. llvm-svn: 129466
* Rework global alignment computation again. Now we do round upChris Lattner2010-04-281-2/+27
| | | | | | | | alignment of globals to the preferred alignment, but only when there is no section specified on the global (by far the common case). llvm-svn: 102515
* fix PR6921 a different way. Intead of increasing theChris Lattner2010-04-261-0/+18
| | | | | | | | alignment of globals with a specified alignment, we fix common variables to obey their alignment. Add a comment explaining why this behavior is important. llvm-svn: 102365
* Revert r102300/102301, which serious broke objc apps.Chris Lattner2010-04-261-16/+0
| | | | llvm-svn: 102359
* Fix PR6921: globals were not getting correctly rounded up to theirChris Lattner2010-04-251-0/+16
preferred alignment unless they were common or some other special case. llvm-svn: 102300
OpenPOWER on IntegriCloud