aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-10-07 07:29:50 +0000
committerCraig Topper <craig.topper@gmail.com>2014-10-07 07:29:50 +0000
commit0676b902ad242537eb9d9914477dea4c36388ffd (patch)
tree56a535627f6030b642b0f1cd607ee74719a842bc /clang/lib/CodeGen/CodeGenFunction.h
parent273515eb1215ef0001092eba6f6298b20ee0226c (diff)
downloadllvm-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