[Mlir-commits] [mlir] [mlir][LLVM] Add nsw and nuw flags (PR #74508)
Ivan Butygin
llvmlistbot at llvm.org
Tue Dec 5 10:57:59 PST 2023
================
@@ -62,14 +62,23 @@ static auto processFMFAttr(ArrayRef<NamedAttribute> attrs) {
return filteredAttrs;
}
+static auto processIntArithAttr(ArrayRef<NamedAttribute> attrs) {
+ SmallVector<NamedAttribute, 8> filteredAttrs(
+ llvm::make_filter_range(attrs, [&](NamedAttribute attr) {
+ return attr.getName() != "arithFlags";
----------------
Hardcode84 wrote:
`getXYZAttrName` instead of hardcoding string.
https://github.com/llvm/llvm-project/pull/74508
More information about the Mlir-commits
mailing list