From bd80d8addd4b37d7330d7eea3e0d1669870500f9 Mon Sep 17 00:00:00 2001 From: Tom Natan Date: Tue, 30 Jul 2024 14:33:54 -0700 Subject: [PATCH] #sdy remove use of designated initializers for windows support. PiperOrigin-RevId: 657733218 --- .../sdy/transforms/propagation/basic_factor_propagation.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/shardy/dialect/sdy/transforms/propagation/basic_factor_propagation.cc b/shardy/dialect/sdy/transforms/propagation/basic_factor_propagation.cc index 975267e4..a6ccdb9d 100644 --- a/shardy/dialect/sdy/transforms/propagation/basic_factor_propagation.cc +++ b/shardy/dialect/sdy/transforms/propagation/basic_factor_propagation.cc @@ -391,6 +391,12 @@ UpdateTensorShardings BasicFactorPropagation::propagateFactorShardings( UpdateTensorShardings result{ .updateOperands = BitVector(projection.getNumOperands()), .updateResults = BitVector(projection.getNumResults())}; + UpdateTensorShardings result2{ + .updateOperands = BitVector(projection.getNumOperands()), + .updateResults = BitVector(projection.getNumResults())}; + if (result2.updateOperands.any()) { + + } // We propagate each factor separately. for (auto [factorIndex, factorSize] : llvm::enumerate(factorSizes)) {