This is the second patch to allow x86 code to be aligned with optimal nops.
authorKevin Enderby <enderby@apple.com>
Tue, 23 Feb 2010 21:41:24 +0000 (21:41 +0000)
committerKevin Enderby <enderby@apple.com>
Tue, 23 Feb 2010 21:41:24 +0000 (21:41 +0000)
commit76687083a5185cedc00fb8bb0d384b814492849a
tree1298608359145eca7beb7da85c21391b601cdabe
parent8acf71baed08b430e77155404254bdde7ba60997
This is the second patch to allow x86 code to be aligned with optimal nops.
With the compiler changed to use EmitCodeAlignment() it does change the
functionality.  But X86 assembly code assembled with llvm-mc does not change
its output.  For that we will eventually change the assembler frontend to
detect a '.align x, 0x90' when used in a section that 'hasInstructions' and use
EmitCodeAlignment, but will wait until we have better target hooks.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96988 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCAssembler.cpp