[Mlir-commits] [mlir] 6b68626 - [mlir] warn about passthrough in LLVM dialect doc

llvmlistbot at llvm.org llvmlistbot at llvm.org
Mon May 8 04:37:53 PDT 2023


Author: Oleksandr "Alex" Zinenko
Date: 2023-05-08T13:37:49+02:00
New Revision: 6b6862645e782e80798bb6ee138c8665bd5afbba

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

LOG: [mlir] warn about passthrough in LLVM dialect doc

This mechanism has never been intended for anything but prototyping.

Added: 
    

Modified: 
    mlir/docs/Dialects/LLVM.md

Removed: 
    


################################################################################
diff  --git a/mlir/docs/Dialects/LLVM.md b/mlir/docs/Dialects/LLVM.md
index c41d7254a378c..fa5ce630ad43b 100644
--- a/mlir/docs/Dialects/LLVM.md
+++ b/mlir/docs/Dialects/LLVM.md
@@ -161,6 +161,10 @@ MLIR symbol visibility.
 
 ### Attribute Pass-Through
 
+**WARNING:** this feature MUST NOT be used for any real workload. It is
+exclusively intended for quick prototyping. After that, attributes must be
+introduced as proper first-class concepts in the dialect.
+
 The LLVM dialect provides a mechanism to forward function-level attributes to
 LLVM IR using the `passthrough` attribute. This is an array attribute containing
 either string attributes or array attributes. In the former case, the value of


        


More information about the Mlir-commits mailing list