File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
mlir/lib/Target/LLVMIR/Dialect/LLVMIR Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -116,13 +116,10 @@ static SmallVector<llvm::OperandBundleDef>
116116convertOperandBundles (OperandRangeRange bundleOperands,
117117 ArrayRef<std::string> bundleTags,
118118 LLVM::ModuleTranslation &moduleTranslation) {
119- assert (bundleOperands.size () == bundleTags.size () &&
120- " operand bundles and tags do not match" );
121-
122119 SmallVector<llvm::OperandBundleDef> bundles;
123120 bundles.reserve (bundleOperands.size ());
124121
125- for (auto [operands, tag] : llvm::zip (bundleOperands, bundleTags))
122+ for (auto [operands, tag] : llvm::zip_equal (bundleOperands, bundleTags))
126123 bundles.push_back (convertOperandBundle (operands, tag, moduleTranslation));
127124 return bundles;
128125}
You can’t perform that action at this time.
0 commit comments