diff options
author | Kazu Hirata <kazu@google.com> | 2024-12-13 08:00:45 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-13 08:00:45 -0800 |
commit | fcb1591b46f12b8908a8cdb252611708820102f8 (patch) | |
tree | d8d702141adfece72994840aa5dd124449a9a54e /llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp | |
parent | 1da0730ba5994537119ed61205a599cb3929c43a (diff) | |
download | llvm-fcb1591b46f12b8908a8cdb252611708820102f8.zip llvm-fcb1591b46f12b8908a8cdb252611708820102f8.tar.gz llvm-fcb1591b46f12b8908a8cdb252611708820102f8.tar.bz2 |
[IR] Migrate away from PointerUnion::{is,get} (NFC) (#119802)
Note that PointerUnion::{is,get} have been soft deprecated in
PointerUnion.h:
// FIXME: Replace the uses of is(), get() and dyn_cast() with
// isa<T>, cast<T> and the llvm::dyn_cast<T>
I'm not touching PointerUnion::dyn_cast for now because it's a bit
complicated; we could blindly migrate it to dyn_cast_if_present, but
we should probably use dyn_cast when the operand is known to be
non-null.
Diffstat (limited to 'llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions