Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Migrate function attribute "no-frame-pointer-elim" to "frame-pointer"="all" ↵ | Fangrui Song | 2019-12-24 | 1 | -2/+2 |
| | | | | as cleanups after D56351 | ||||
* | [MC] Use .p2align instead of .align | Dan Gohman | 2016-01-26 | 1 | -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 | ||||
* | Struct byval: use the correct alignment for loads generated to load | Manman Ren | 2013-10-07 | 1 | -0/+27 |
from struct byval to registers. We used to pass 0 which means the alignment of PtrVT. Even when the alignment of the struct is smaller than 4, the LOADs would have alignment of 4, and further optimizations could combine the LOADs into a ldm, which would cause crash. The fix is to pass the alignment of the struct byval. rdar://problem/15144402 llvm-svn: 192126 |