[all-commits] [llvm/llvm-project] 4f4e2a: [mlir] Migrate away from PointerUnion::{is, get} (N...
Kazu Hirata via All-commits
all-commits at lists.llvm.org
Sat Jan 11 13:17:04 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4f4e2abb1a5ff1225d32410fd02b732d077aa056
https://github.com/llvm/llvm-project/commit/4f4e2abb1a5ff1225d32410fd02b732d077aa056
Author: Kazu Hirata <kazu at google.com>
Date: 2025-01-11 (Sat, 11 Jan 2025)
Changed paths:
M mlir/examples/transform-opt/mlir-transform-opt.cpp
M mlir/include/mlir/Analysis/DataFlow/SparseAnalysis.h
M mlir/include/mlir/IR/Matchers.h
M mlir/include/mlir/IR/OpDefinition.h
M mlir/include/mlir/Interfaces/DataLayoutInterfaces.td
M mlir/include/mlir/Pass/AnalysisManager.h
M mlir/lib/Analysis/DataFlowFramework.cpp
M mlir/lib/AsmParser/Parser.cpp
M mlir/lib/Bytecode/Writer/IRNumbering.h
M mlir/lib/Tools/mlir-pdll-lsp-server/PDLLServer.cpp
M mlir/lib/Tools/tblgen-lsp-server/TableGenServer.cpp
M mlir/lib/Transforms/Utils/FoldUtils.cpp
M mlir/lib/Transforms/Utils/GreedyPatternRewriteDriver.cpp
Log Message:
-----------
[mlir] Migrate away from PointerUnion::{is,get} (NFC) (#122591)
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