aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorAmir Ayupov <aaupov@fb.com>2022-03-02 23:20:15 -0800
committerAmir Ayupov <aaupov@fb.com>2022-03-16 08:30:31 -0700
commit2c4e38fa6f33d371f9169715f97046343095bba0 (patch)
treee749a0ca19dd04633c338f75440db4eef0526ca7 /clang/lib/CodeGen/CodeGenFunction.cpp
parent1d3719820faf0e35a83d1a82173e46deacccee07 (diff)
downloadllvm-2c4e38fa6f33d371f9169715f97046343095bba0.zip
llvm-2c4e38fa6f33d371f9169715f97046343095bba0.tar.gz
llvm-2c4e38fa6f33d371f9169715f97046343095bba0.tar.bz2
[X86] Emit REX prefix immediately before the opcode
Fix prefix emission order to emit REX immediately before the opcode (SDM vol2, 2.1, Figure 2-1). According to SDM vol2 2.2.1, "Other placements are ignored". This fix has a side effect of outputting segment override prefix in a different order than previously (benign). Follow-up to https://reviews.llvm.org/D120592 Reviewed By: skan, craig.topper Differential Revision: https://reviews.llvm.org/D120871
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions