[flang-commits] [flang] [flang][cuda] Do not register global constants (PR #118582)

Valentin Clement バレンタイン クレメン via flang-commits flang-commits at lists.llvm.org
Wed Dec 4 11:54:49 PST 2024


================
@@ -106,8 +106,7 @@ struct CUFAddConstructor
 
         mlir::func::FuncOp func;
         switch (attr.getValue()) {
-        case cuf::DataAttribute::Device:
-        case cuf::DataAttribute::Constant: {
+        case cuf::DataAttribute::Device: {
----------------
clementval wrote:

Yeah but shouldn't we register them as well? 

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


More information about the flang-commits mailing list