Fixing MSVC unhappiness with unneeded initializer wrapper. (#7991)
diff --git a/iree/compiler/Dialect/Flow/Transforms/InferNumericNarrowing.cpp b/iree/compiler/Dialect/Flow/Transforms/InferNumericNarrowing.cpp index 26c8539..1c3663d 100644 --- a/iree/compiler/Dialect/Flow/Transforms/InferNumericNarrowing.cpp +++ b/iree/compiler/Dialect/Flow/Transforms/InferNumericNarrowing.cpp
@@ -126,7 +126,7 @@ } auto annotationOp = builder.create<IREE::Util::NumericOptionalNarrowOp>( probePoint.getLoc(), probePoint, type, range); - probePoint.replaceAllUsesExcept(annotationOp, {annotationOp}); + probePoint.replaceAllUsesExcept(annotationOp, annotationOp); } };