[flang-commits] [flang] [flang][cuda] Add CUFAllocSinking pass to defer device descriptor allocation (PR #206882)
Valentin Clement バレンタイン クレメン via flang-commits
flang-commits at lists.llvm.org
Tue Jun 30 22:01:27 PDT 2026
================
@@ -492,6 +492,17 @@ def AssumedRankOpConversion : Pass<"fir-assumed-rank-op", "mlir::ModuleOp"> {
];
}
+def CUFAllocSinking : Pass<"cuf-alloc-sinking", "::mlir::func::FuncOp"> {
----------------
clementval wrote:
Sinking might not be the right name here because we are not sinking into the cf but just delaying the operation until its first usual. Maybe `CUFAllocDelay` would fit more closely to what the pass is doing.
https://github.com/llvm/llvm-project/pull/206882
More information about the flang-commits
mailing list