[Mlir-commits] [mlir] [mlir][LLVM] Add nsw and nuw flags (PR #74508)

Ivan Butygin llvmlistbot at llvm.org
Wed Dec 6 04:59:51 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:

Looking more into code, `StaticInterfaceMethod` seems to means it static per op type, not per interface, so this is just an unfortunate name choice, I guess. I see you've removed this function in latest commit so this is resolved.

https://github.com/llvm/llvm-project/pull/74508


More information about the Mlir-commits mailing list