[Mlir-commits] [mlir] [Tosa] Disable tosa folder for non-int/float/index types (PR #71757)

Tai Ly llvmlistbot at llvm.org
Wed Nov 22 08:02:52 PST 2023


================
@@ -514,6 +519,7 @@ OpFoldResult DivOp::fold(FoldAdaptor adaptor) {
   if (lhsTy != rhsTy)
     return {};
 
+  // IntDivOp inputs must be integer type, no need to check for qunatized type
----------------
Tai78641 wrote:

fixed

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


More information about the Mlir-commits mailing list