aboutsummaryrefslogtreecommitdiff
path: root/mlir/unittests/IR/OperationSupportTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'mlir/unittests/IR/OperationSupportTest.cpp')
-rw-r--r--mlir/unittests/IR/OperationSupportTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/mlir/unittests/IR/OperationSupportTest.cpp b/mlir/unittests/IR/OperationSupportTest.cpp
index 8a4f67b..9d75615 100644
--- a/mlir/unittests/IR/OperationSupportTest.cpp
+++ b/mlir/unittests/IR/OperationSupportTest.cpp
@@ -295,9 +295,9 @@ TEST(OperationEquivalenceTest, HashWorksWithFlags) {
MLIRContext context;
context.getOrLoadDialect<test::TestDialect>();
- auto op1 = createOp(&context);
+ auto *op1 = createOp(&context);
// `op1` has an unknown loc.
- auto op2 = createOp(&context);
+ auto *op2 = createOp(&context);
op2->setLoc(NameLoc::get(StringAttr::get(&context, "foo")));
auto getHash = [](Operation *op, OperationEquivalence::Flags flags) {
return OperationEquivalence::computeHash(