diff options
author | Kazu Hirata <kazu@google.com> | 2025-01-22 00:17:04 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-22 00:17:04 -0800 |
commit | aaf0643dd5d09bdce12298e48310a2c979be5f9a (patch) | |
tree | 0417f0427181753af3a248a657b46e405ee6daac /llvm/lib/CodeGen/MachineBlockPlacement.cpp | |
parent | a5159e200eb25c2873fb8db432962394a879e887 (diff) | |
download | llvm-aaf0643dd5d09bdce12298e48310a2c979be5f9a.zip llvm-aaf0643dd5d09bdce12298e48310a2c979be5f9a.tar.gz llvm-aaf0643dd5d09bdce12298e48310a2c979be5f9a.tar.bz2 |
[lld] Migrate away from PointerUnion::dyn_cast (NFC) (#123891)
Note that PointerUnion::dyn_cast has 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>
Literal migration would result in dyn_cast_if_present (see the
definition of PointerUnion::dyn_cast), but this patch uses cast
because we know expect isa<Symbol *>(rel.referent) to be true.
Diffstat (limited to 'llvm/lib/CodeGen/MachineBlockPlacement.cpp')
0 files changed, 0 insertions, 0 deletions