[flang-commits] [flang] f64b5c9 - [flang][cuda] Fix hasDataAttr signature in header file (#154435)

via flang-commits flang-commits at lists.llvm.org
Tue Aug 19 15:50:01 PDT 2025


Author: Valentin Clement (バレンタイン クレメン)
Date: 2025-08-19T22:49:57Z
New Revision: f64b5c9c6fa759256263376b32845fe930b4bae8

URL: https://github.com/llvm/llvm-project/commit/f64b5c9c6fa759256263376b32845fe930b4bae8
DIFF: https://github.com/llvm/llvm-project/commit/f64b5c9c6fa759256263376b32845fe930b4bae8.diff

LOG: [flang][cuda] Fix hasDataAttr signature in header file (#154435)

Fix for #154422

Added: 
    

Modified: 
    flang/include/flang/Optimizer/Dialect/CUF/Attributes/CUFAttr.h

Removed: 
    


################################################################################
diff  --git a/flang/include/flang/Optimizer/Dialect/CUF/Attributes/CUFAttr.h b/flang/include/flang/Optimizer/Dialect/CUF/Attributes/CUFAttr.h
index 1183fc1299810..c7d89420eab08 100644
--- a/flang/include/flang/Optimizer/Dialect/CUF/Attributes/CUFAttr.h
+++ b/flang/include/flang/Optimizer/Dialect/CUF/Attributes/CUFAttr.h
@@ -107,7 +107,7 @@ getProcAttribute(mlir::MLIRContext *mlirContext,
 }
 
 /// Returns true if the operation has a data attribute with the given value.
-bool hasDataAttr(mlir::Operation *op);
+bool hasDataAttr(mlir::Operation *op, cuf::DataAttribute value);
 
 } // namespace cuf
 


        


More information about the flang-commits mailing list