[Mlir-commits] [mlir] [mlir][dataflow] Fix for integer range analysis propagation bug (PR #93199)

Spenser Bauman llvmlistbot at llvm.org
Fri May 24 05:59:24 PDT 2024


================
@@ -27,6 +27,9 @@ namespace intrange {
 using InferRangeFn =
     function_ref<ConstantIntRanges(ArrayRef<ConstantIntRanges>)>;
 
+using OptionalRangeFn =
+    std::function<OptionalIntRanges(ArrayRef<OptionalIntRanges>)>;
----------------
sabauma wrote:

Given the way some of the new utility functions are manipulating lambdas, the `InferRangeFn` also needs to be converted to `std::function`.

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


More information about the Mlir-commits mailing list