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>
116
116
convertOperandBundles (OperandRangeRange bundleOperands,
117
117
ArrayRef<std::string> bundleTags,
118
118
LLVM::ModuleTranslation &moduleTranslation) {
119
- assert (bundleOperands.size () == bundleTags.size () &&
120
- " operand bundles and tags do not match" );
121
-
122
119
SmallVector<llvm::OperandBundleDef> bundles;
123
120
bundles.reserve (bundleOperands.size ());
124
121
125
- for (auto [operands, tag] : llvm::zip (bundleOperands, bundleTags))
122
+ for (auto [operands, tag] : llvm::zip_equal (bundleOperands, bundleTags))
126
123
bundles.push_back (convertOperandBundle (operands, tag, moduleTranslation));
127
124
return bundles;
128
125
}
You can’t perform that action at this time.
0 commit comments