[all-commits] [llvm/llvm-project] f8e185: [flang][cuda] Switch CUFAllocDelay to operate on f...

Zhen Wang via All-commits all-commits at lists.llvm.org
Wed Jul 8 15:36:57 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f8e18564dc4a40ed6f173f6c69449d0800070e9d
      https://github.com/llvm/llvm-project/commit/f8e18564dc4a40ed6f173f6c69449d0800070e9d
  Author: Zhen Wang <zhenw at nvidia.com>
  Date:   2026-07-08 (Wed, 08 Jul 2026)

  Changed paths:
    M flang/lib/Optimizer/Transforms/CUDA/CUFAllocDelay.cpp
    M flang/test/Transforms/CUF/cuf-alloc-delay.fir

  Log Message:
  -----------
  [flang][cuda] Switch CUFAllocDelay to operate on fir.declare (#208334)

CUFAllocDelay previously matched hlfir.declare, requiring it to run
before HLFIR-to-FIR lowering. Match fir.declare instead so the pass can
be scheduled with the other CUF preparation passes (which also operate
on fir.declare), before cuf.alloc is lowered. The delay logic is
unchanged.



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