[all-commits] [llvm/llvm-project] a45a57: [mlir][openacc] Copy all host function attributes ...

Samarth Narang via All-commits all-commits at lists.llvm.org
Thu Sep 24 09:05:20 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a45a57c0fb284997699ab0ac1829152fa0bb24be
      https://github.com/llvm/llvm-project/commit/a45a57c0fb284997699ab0ac1829152fa0bb24be
  Author: Samarth Narang <70980689+snarang181 at users.noreply.github.com>
  Date:   2026-09-24 (Thu, 24 Sep 2026)

  Changed paths:
    M mlir/lib/Dialect/OpenACC/Transforms/ACCRoutineLowering.cpp
    M mlir/test/Dialect/OpenACC/acc-routine-lowering.mlir

  Log Message:
  -----------
  [mlir][openacc] Copy all host function attributes to the device routine (#226127)

`createFunctionForDeviceStaging` copied only the discardable attributes
of the host function, so the device copy lost sym_visibility, arg_attrs,
res_attrs and no_inline, which are inherent attributes of func.func. A
private host with llvm.signext/llvm.noundef on its signature became a
public function with a bare signature.

Fixes #225259



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