diff options
author | Craig Topper <craig.topper@gmail.com> | 2014-10-07 07:29:50 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2014-10-07 07:29:50 +0000 |
commit | 0676b902ad242537eb9d9914477dea4c36388ffd (patch) | |
tree | 56a535627f6030b642b0f1cd607ee74719a842bc /clang/lib/CodeGen/CodeGenFunction.h | |
parent | 273515eb1215ef0001092eba6f6298b20ee0226c (diff) | |
download | llvm-0676b902ad242537eb9d9914477dea4c36388ffd.zip llvm-0676b902ad242537eb9d9914477dea4c36388ffd.tar.gz llvm-0676b902ad242537eb9d9914477dea4c36388ffd.tar.bz2 |
[X86] Fix a bug where the disassembler was ignoring the VEX.W bit in 32-bit mode for certain instructions it shouldn't.
Unfortunately, this isn't easy to fix since there's no simple way to figure out from the disassembler tables whether the W-bit is being used to select a 64-bit GPR or if its a required part of the opcode. The fix implemented here just looks for "64" in the instruction name and ignores the W-bit in 32-bit mode if its present.
Fixes PR21169.
llvm-svn: 219194
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
0 files changed, 0 insertions, 0 deletions