[Mlir-commits] [mlir] [mlir][LLVM] Add nsw and nuw flags (PR #74508)
Ivan Butygin
llvmlistbot at llvm.org
Wed Dec 6 04:35:07 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:
> but it isn't actually a static method of the interface (although it is declared as such in tablegen).
Hm, this looks suspicious but I'm not very familiar how interfaces generation work in tablegen, ping @joker-eph
https://github.com/llvm/llvm-project/pull/74508
More information about the Mlir-commits
mailing list