Skip to content
  • Dan Gohman's avatar
    [MC] Use .p2align instead of .align · 61d15ae4
    Dan Gohman authored
    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
    61d15ae4
Loading