[all-commits] [llvm/llvm-project] 129ec8: [Conversion] Migrate away from PointerUnion::{is, g...
Kazu Hirata via All-commits
all-commits at lists.llvm.org
Fri Jan 10 15:10:38 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 129ec845749fe117970f71c330945b5709e1d220
https://github.com/llvm/llvm-project/commit/129ec845749fe117970f71c330945b5709e1d220
Author: Kazu Hirata <kazu at google.com>
Date: 2025-01-10 (Fri, 10 Jan 2025)
Changed paths:
M mlir/lib/Conversion/MemRefToSPIRV/MemRefToSPIRV.cpp
M mlir/lib/Conversion/MeshToMPI/MeshToMPI.cpp
M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
Log Message:
-----------
[Conversion] Migrate away from PointerUnion::{is,get} (NFC) (#122421)
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.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list