[Mlir-commits] [mlir] a33099f - [mlir] Add the missing non-member operator decl in the same namesapce. NFC

Michael Liao llvmlistbot at llvm.org
Tue May 30 22:42:24 PDT 2023


Author: Michael Liao
Date: 2023-05-31T01:42:14-04:00
New Revision: a33099f0fef958bed6fc7a09c7f0df1310ba6cfc

URL: https://github.com/llvm/llvm-project/commit/a33099f0fef958bed6fc7a09c7f0df1310ba6cfc
DIFF: https://github.com/llvm/llvm-project/commit/a33099f0fef958bed6fc7a09c7f0df1310ba6cfc.diff

LOG: [mlir] Add the missing non-member operator decl in the same namesapce. NFC

Added: 
    

Modified: 
    mlir/include/mlir/Interfaces/InferIntRangeInterface.h

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/Interfaces/InferIntRangeInterface.h b/mlir/include/mlir/Interfaces/InferIntRangeInterface.h
index 7df4cc87c2e10..05064a72ef02e 100644
--- a/mlir/include/mlir/Interfaces/InferIntRangeInterface.h
+++ b/mlir/include/mlir/Interfaces/InferIntRangeInterface.h
@@ -103,6 +103,8 @@ class ConstantIntRanges {
   APInt uminVal, umaxVal, sminVal, smaxVal;
 };
 
+raw_ostream &operator<<(raw_ostream &, const ConstantIntRanges &);
+
 /// The type of the `setResultRanges` callback provided to ops implementing
 /// InferIntRangeInterface. It should be called once for each integer result
 /// value and be passed the ConstantIntRanges corresponding to that value.


        


More information about the Mlir-commits mailing list