Skip to content

Commit 200b589

Browse files
authored
[mlir][spirv] Fix ambiguous conversion between SmallVector and TypeRange (#134087)
This address buildbot failures caused by #133702.
1 parent 8a0f694 commit 200b589

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Target/SPIRV/Deserialization/Deserializer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2065,7 +2065,7 @@ LogicalResult ControlFlowStructurizer::structurize() {
20652065
// and remapping we have previously done should be preserved.
20662066
builder.setInsertionPoint(&mergeBlock->front());
20672067
auto selectionOp = builder.create<spirv::SelectionOp>(
2068-
location, TypeRange(outsideUses),
2068+
location, TypeRange(ValueRange(outsideUses)),
20692069
static_cast<spirv::SelectionControl>(control));
20702070
selectionOp->getRegion(0).takeBody(body);
20712071

0 commit comments

Comments
 (0)