diff options
author | Yingwei Zheng <dtcxzyw2333@gmail.com> | 2024-05-22 00:48:26 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-22 00:48:26 +0800 |
commit | 557bf3835b96ef5839013b1e821a1cb869660aa3 (patch) | |
tree | 00efb14c8af3ebedc8d1f08637f42827436e3796 /lldb/source/Commands/CommandObjectThread.cpp | |
parent | 0c8bc08868e7bf051e9683851726747def85765a (diff) | |
download | llvm-557bf3835b96ef5839013b1e821a1cb869660aa3.zip llvm-557bf3835b96ef5839013b1e821a1cb869660aa3.tar.gz llvm-557bf3835b96ef5839013b1e821a1cb869660aa3.tar.bz2 |
[RISCV][ISel] Allow opaque constants in `hasAndNotCompare` (#92926)
See the following code:
https://github.com/llvm/llvm-project/blob/4ae896fe979b7db501cabde4b6b3504478958682/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp#L9334-L9357
> Combining: t47: i64 = xor t43, OpaqueConstant:i64<31808>
X: i64 = Constant<0>
Y: i64 = OpaqueConstant<31808>
The assertion failed because both `X` and `Y` are constants.
This patch allows opaque constants in `hasAndNotCompare` to fix the
issue.
Fixes https://github.com/llvm/llvm-project/issues/90730.
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
0 files changed, 0 insertions, 0 deletions