summaryrefslogtreecommitdiffstats
path: root/mlir/test/lib/Transforms/TestInlining.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mlir/test/lib/Transforms/TestInlining.cpp')
-rw-r--r--mlir/test/lib/Transforms/TestInlining.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/test/lib/Transforms/TestInlining.cpp b/mlir/test/lib/Transforms/TestInlining.cpp
index 36378283f8e..584849d0f51 100644
--- a/mlir/test/lib/Transforms/TestInlining.cpp
+++ b/mlir/test/lib/Transforms/TestInlining.cpp
@@ -46,7 +46,7 @@ struct Inliner : public FunctionPass<Inliner> {
if (failed(inlineRegion(
interface, &callee.body(), caller,
llvm::to_vector<8>(caller.getArgOperands()),
- llvm::to_vector<8>(caller.getResults()), caller.getLoc(),
+ SmallVector<Value, 8>(caller.getResults()), caller.getLoc(),
/*shouldCloneInlinedRegion=*/!callee.getResult()->hasOneUse())))
continue;
OpenPOWER on IntegriCloud