summaryrefslogtreecommitdiffstats
path: root/mlir/lib/TableGen/Pattern.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mlir/lib/TableGen/Pattern.cpp')
-rw-r--r--mlir/lib/TableGen/Pattern.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/lib/TableGen/Pattern.cpp b/mlir/lib/TableGen/Pattern.cpp
index 098dba3ae6e..e8f44087b85 100644
--- a/mlir/lib/TableGen/Pattern.cpp
+++ b/mlir/lib/TableGen/Pattern.cpp
@@ -224,7 +224,7 @@ tblgen::SymbolInfoMap::SymbolInfo::getVarDecl(StringRef name) const {
return formatv("Operation::operand_range {0}(op0->getOperands());\n", name);
}
case Kind::Value: {
- return formatv("ArrayRef<Value *> {0};\n", name);
+ return formatv("ArrayRef<ValuePtr> {0};\n", name);
}
case Kind::Result: {
// Use the op itself for captured results.
OpenPOWER on IntegriCloud