[all-commits] [llvm/llvm-project] 3ddd13: [flang] [cuda] Move SetImplicityCUDADevice after s...

Zhen Wang via All-commits all-commits at lists.llvm.org
Thu Jun 12 17:09:10 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3ddd137332237918fbb6175c20327fe765d2c4ad
      https://github.com/llvm/llvm-project/commit/3ddd137332237918fbb6175c20327fe765d2c4ad
  Author: Zhen Wang <37195552+wangzpgi at users.noreply.github.com>
  Date:   2025-06-12 (Thu, 12 Jun 2025)

  Changed paths:
    M flang/lib/Semantics/resolve-names.cpp
    M flang/test/Semantics/cuf21.cuf

  Log Message:
  -----------
  [flang] [cuda] Move SetImplicityCUDADevice after symbols in block construct are converted to objects (#143791)

`SetImplicitCUDADevice` looks for `symbol.has<ObjectEntityDetails>()` to
set the device attribute before symbols inside block constructs are
converted to ObjectEntity. Fix is to move the call to
`SetImplicitCUDADevice` after those symbols are converted.



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