File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
mlir/lib/Dialect/SPIRV/IR Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -144,7 +144,7 @@ LogicalResult spirv::GraphARMOp::verifyBody() {
144144
145145 ValueTypeRange<OperandRange> graphOutputOperandTypes =
146146 op.getValue ().getType ();
147- for (const auto [index, type] : llvm::enumerate (graphOutputOperandTypes)) {
147+ for (auto [index, type] : llvm::enumerate (graphOutputOperandTypes)) {
148148 if (type != grType.getResult (index))
149149 return op.emitError (" type of return operand " )
150150 << index << " (" << type << " ) doesn't match graph result type ("
@@ -194,7 +194,7 @@ LogicalResult spirv::GraphOutputsARMOp::verify() {
194194 << getNumOperands () << " operands, but enclosing spirv.ARM.Graph (@"
195195 << graph.getName () << " ) returns " << results.size ();
196196
197- for (const auto & [index, result] : llvm::enumerate (results))
197+ for (auto [index, result] : llvm::enumerate (results))
198198 if (getOperand (index).getType () != result)
199199 return emitError () << " type of return operand " << index << " ("
200200 << getOperand (index).getType ()
You can’t perform that action at this time.
0 commit comments