[Mlir-commits] [mlir] [mlir][openacc][NFC] Remove useless OptionalAttr with UnitAttr (PR #68337)
    Valentin Clement バレンタイン クレメン 
    llvmlistbot at llvm.org
       
    Thu Oct  5 11:01:45 PDT 2023
    
    
  
================
@@ -2981,9 +2981,8 @@ genACC(Fortran::lower::AbstractConverter &converter,
   std::stringstream routineOpName;
   routineOpName << accRoutinePrefix.str() << routineCounter++;
   auto routineOp = modBuilder.create<mlir::acc::RoutineOp>(
-      loc, routineOpName.str(), funcName, mlir::StringAttr{}, mlir::UnitAttr{},
-      mlir::UnitAttr{}, mlir::UnitAttr{}, mlir::UnitAttr{}, mlir::UnitAttr{},
-      mlir::UnitAttr{}, mlir::IntegerAttr{});
+      loc, routineOpName.str(), funcName, mlir::StringAttr{}, false, false,
+      false, false, false, false, mlir::IntegerAttr{});
----------------
clementval wrote:
Thanks. I'll update that. 
https://github.com/llvm/llvm-project/pull/68337
    
    
More information about the Mlir-commits
mailing list