summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorKevin Enderby <enderby@apple.com>2010-02-23 21:41:24 +0000
committerKevin Enderby <enderby@apple.com>2010-02-23 21:41:24 +0000
commitc26ddccf3818ddcebc84e98b9310a2aa76692572 (patch)
tree901810cfcaad6dec839abcacc77187a952920dc4 /clang/lib/CodeGen/CodeGenModule.cpp
parentc1b7acbaebeae197eb3d260d7b0fc83a7dbe9915 (diff)
downloadbcm5719-llvm-c26ddccf3818ddcebc84e98b9310a2aa76692572.tar.gz
bcm5719-llvm-c26ddccf3818ddcebc84e98b9310a2aa76692572.zip
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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud