aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2021-02-23 12:39:39 -0800
committerBill Wendling <isanbard@gmail.com>2021-02-25 20:05:45 -0800
commita9f9ceb35f8117ca2c969dfa6614412e00797d45 (patch)
tree12e8623904df842dc60b12935ed83aa6e21c52c9 /clang/lib/Frontend/CompilerInvocation.cpp
parent599711dce58719f137b82449fc9f9dee8f9252c4 (diff)
downloadllvm-a9f9ceb35f8117ca2c969dfa6614412e00797d45.zip
llvm-a9f9ceb35f8117ca2c969dfa6614412e00797d45.tar.gz
llvm-a9f9ceb35f8117ca2c969dfa6614412e00797d45.tar.bz2
[X86] Use correct padding when in 16-bit mode
In 16-bit mode, some of the nop patterns used in 32-bit mode can end up mangling other instructions. For instance, an aligned "movz" instruction may have the 0x66 and 0x67 prefixes omitted, because the nop that's used messes things up. xorl %ebx, %ebx .p2align 4, 0x90 movzbl (%esi,%ebx), %ecx Use instead nop patterns we know 16-bit mode can handle. Differential Revision: https://reviews.llvm.org/D97268
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions