[all-commits] [llvm/llvm-project] d1abbb: [flang][cuda] Change induction variable from i32 t...

Zhen Wang via All-commits all-commits at lists.llvm.org
Wed Mar 5 14:51:04 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d1abbb4dc5071e379d048f98b096260ed899ae44
      https://github.com/llvm/llvm-project/commit/d1abbb4dc5071e379d048f98b096260ed899ae44
  Author: Zhen Wang <37195552+wangzpgi at users.noreply.github.com>
  Date:   2025-03-05 (Wed, 05 Mar 2025)

  Changed paths:
    M flang/lib/Lower/Bridge.cpp
    M flang/test/Lower/CUDA/cuda-doconc.cuf

  Log Message:
  -----------
  [flang][cuda] Change induction variable from i32 to index for doconcurrent inside cuf kernel directive (#129924)

Use `index` instead of `i32` for induction variables for doconcurrent
inside cuf kernel directive. Regular do loop inside cuf kernel directive
also uses `index`:
```
cuf.kernel<<<*, *>>> (%arg0 : index) = ...
```



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