It was common to see value.getValue().empty() or value.size()
instead of the idiomatic value.empty().
Depends on D159455
Paths
| Differential D159456
[mlir] Add `empty` to `StringAttr` ClosedPublic Authored by Mogball on Sep 5 2023, 2:13 PM.
Details Summary It was common to see value.getValue().empty() or value.size() Depends on D159455
Diff Detail
Event TimelineMogball added a child revision: D159457: [mlir][index] Fix side effect modeling for division by zero ops.Sep 5 2023, 2:18 PM Closed by commit rGb3a5f5394f1f: [mlir] Add `empty` to `StringAttr` (authored by Mogball). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 555938 mlir/include/mlir/IR/BuiltinAttributes.td
mlir/lib/Dialect/EmitC/IR/EmitC.cpp
mlir/lib/Target/LLVMIR/DebugTranslation.cpp
mlir/test/lib/Dialect/Test/TestDialect.cpp
mlir/unittests/IR/AttributeTest.cpp
|