diff options
author | Amir Ayupov <aaupov@fb.com> | 2022-03-02 23:20:15 -0800 |
---|---|---|
committer | Amir Ayupov <aaupov@fb.com> | 2022-03-16 08:30:31 -0700 |
commit | 2c4e38fa6f33d371f9169715f97046343095bba0 (patch) | |
tree | e749a0ca19dd04633c338f75440db4eef0526ca7 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 1d3719820faf0e35a83d1a82173e46deacccee07 (diff) | |
download | llvm-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