diff options
| author | Craig Topper <craig.topper@sifive.com> | 2025-01-13 23:36:09 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-13 23:36:09 -0800 |
| commit | 726cfc67b69633119279a6369263491421861b1d (patch) | |
| tree | 0bca66760ebd60590e19ec0ea9e226fd31c71057 /lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py | |
| parent | 87d7aebdd43102160d93d8e5859228d860ea072d (diff) | |
[RISCV] Don't convert virtual register Register to MCRegister in isCompressibleInst. (#122843)
Calling MCRegisterClass::contains with a Register does an implicit
conversion from Register to MCRegister. I think MCRegister is only
intended to be used for physical registers. We should protect this
implicit conversion by checking for physical registers first.
While I was here I removed some unnecessary parentheses from the output.
Diffstat (limited to 'lldb/test/API/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py')
0 files changed, 0 insertions, 0 deletions
