aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
diff options
context:
space:
mode:
authorDavid Green <david.green@arm.com>2025-03-10 22:03:36 +0000
committerGitHub <noreply@github.com>2025-03-10 22:03:36 +0000
commit9bac1b63ac14ca7cbd98ef63cbc0d8b643d31403 (patch)
treea58fb90ad2c64b844b66c07ee86de9f6f78a337d /llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
parentc88352d2e92fb28abc39f9a393bdb2f1d6729a4e (diff)
downloadllvm-9bac1b63ac14ca7cbd98ef63cbc0d8b643d31403.zip
llvm-9bac1b63ac14ca7cbd98ef63cbc0d8b643d31403.tar.gz
llvm-9bac1b63ac14ca7cbd98ef63cbc0d8b643d31403.tar.bz2
[GlobalISel] Add and use a m_GAddLike pattern matcher. NFC (#125435)
This adds a Flags parameter to the BinaryOp_match, allowing it to detect different flags like Disjoint. A m_GDisjointOr is added to detect Or's with disjoint flags, and G_AddLike is then either a m_GADD or m_GDisjointOr. The rest is trying to allow matching `const MachineInstr&`, as opposed to non-const references.
Diffstat (limited to 'llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions