diff options
Diffstat (limited to 'mlir/lib/Dialect/SPIRV/SPIRVDialect.cpp')
-rw-r--r-- | mlir/lib/Dialect/SPIRV/SPIRVDialect.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/lib/Dialect/SPIRV/SPIRVDialect.cpp b/mlir/lib/Dialect/SPIRV/SPIRVDialect.cpp index def8ee810fe..4416e1e6b04 100644 --- a/mlir/lib/Dialect/SPIRV/SPIRVDialect.cpp +++ b/mlir/lib/Dialect/SPIRV/SPIRVDialect.cpp @@ -94,7 +94,7 @@ struct SPIRVInlinerInterface : public DialectInlinerInterface { /// Handle the given inlined terminator by replacing it with a new operation /// as necessary. void handleTerminator(Operation *op, - ArrayRef<Value *> valuesToRepl) const final { + ArrayRef<ValuePtr> valuesToRepl) const final { // Only spv.ReturnValue needs to be handled here. auto retValOp = dyn_cast<spirv::ReturnValueOp>(op); if (!retValOp) |