[all-commits] [llvm/llvm-project] d488b2: [mlir][ods] Do not print default-valued properties...
Beal Wang via All-commits
all-commits at lists.llvm.org
Fri Apr 12 02:17:28 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d488b2225d484027eb2c21a06d27decf008e878b
https://github.com/llvm/llvm-project/commit/d488b2225d484027eb2c21a06d27decf008e878b
Author: Beal Wang <colorfishes at outlook.com>
Date: 2024-04-12 (Fri, 12 Apr 2024)
Changed paths:
M mlir/include/mlir/Dialect/XeGPU/IR/XeGPUOps.td
M mlir/include/mlir/IR/OpDefinition.h
M mlir/lib/IR/Operation.cpp
M mlir/test/IR/properties.mlir
M mlir/test/lib/Dialect/Test/TestOps.td
M mlir/tools/mlir-tblgen/OpFormatGen.cpp
Log Message:
-----------
[mlir][ods] Do not print default-valued properties when the value is equal to the default (#87970)
This diff causes the `tblgen`-erated printProperties() function to skip
printing a `DefaultValuedAttr` property when the value is equal to the
default.
Co-authored-by: Biao Wang <biaow at nvidia.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list