| commit | c26ddccf3818ddcebc84e98b9310a2aa76692572 | [log] [tgz] |
|---|---|---|
| author | Kevin Enderby <enderby@apple.com> | Tue Feb 23 21:41:24 2010 +0000 |
| committer | Kevin Enderby <enderby@apple.com> | Tue Feb 23 21:41:24 2010 +0000 |
| tree | 901810cfcaad6dec839abcacc77187a952920dc4 | |
| parent | c1b7acbaebeae197eb3d260d7b0fc83a7dbe9915 [diff] |
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. llvm-svn: 96988