[flang-commits] [flang] [flang] [cuda] implicitly set DEVICE attribute to scalars in device routines (PR #140834)

Valentin Clement バレンタイン クレメン via flang-commits flang-commits at lists.llvm.org
Wed May 21 09:48:12 PDT 2025


================
@@ -0,0 +1,28 @@
+! RUN: bbc -emit-hlfir -fcuda %s -o - | FileCheck %s
----------------
clementval wrote:

We should use the semantic check run line here: 

```
! RUN: %python %S/test_errors.py %s %flang_fc1
```

We just want to see if semantic pass without error. We are not really interested in the IR. 

https://github.com/llvm/llvm-project/pull/140834


More information about the flang-commits mailing list