diff options
author | Fabian Wolff <fabian.wolff@alumni.ethz.ch> | 2021-11-16 08:54:31 +0800 |
---|---|---|
committer | Phoebe Wang <pengfei.wang@intel.com> | 2021-11-16 10:38:12 +0800 |
commit | b484fa8289299a4a55708d8e4104aacfea8d7fd5 (patch) | |
tree | fcc4c6364f449da17037a3aafc08306a3394a987 /lldb/packages/Python/lldbsuite/test/configuration.py | |
parent | 659887b4056236d376c0ac1218ca3f7a0dd75604 (diff) | |
download | llvm-b484fa8289299a4a55708d8e4104aacfea8d7fd5.zip llvm-b484fa8289299a4a55708d8e4104aacfea8d7fd5.tar.gz llvm-b484fa8289299a4a55708d8e4104aacfea8d7fd5.tar.bz2 |
[X86] Fix crash with inline asm using wrong register name
Fixes PR#48678. `X86TargetLowering::getRegForInlineAsmConstraint()` can adjust the register class to match the type, e.g. change `VR128X` to `VR256X` if the type needs 256 bits. However, the function currently returns the unadjusted register and the adjusted register class, e.g. `xmm15` and `VR256X`, which then causes an assertion failure later because the register class does not contain that register. This patch fixes this behavior.
Reviewed By: pengfei
Differential Revision: https://reviews.llvm.org/D113834
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/configuration.py')
0 files changed, 0 insertions, 0 deletions