projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb20499
)
Apply clang-tidy fixes for readability-identifier-naming in TestDialect.cpp (NFC)
author
Mehdi Amini
<joker.eph@gmail.com>
Sat, 10 Dec 2022 14:16:17 +0000
(14:16 +0000)
committer
Mehdi Amini
<joker.eph@gmail.com>
Thu, 29 Dec 2022 20:50:25 +0000
(20:50 +0000)
mlir/test/lib/Dialect/Test/TestDialect.cpp
patch
|
blob
|
history
diff --git
a/mlir/test/lib/Dialect/Test/TestDialect.cpp
b/mlir/test/lib/Dialect/Test/TestDialect.cpp
index
04a01de
..
49b189f
100644
(file)
--- a/
mlir/test/lib/Dialect/Test/TestDialect.cpp
+++ b/
mlir/test/lib/Dialect/Test/TestDialect.cpp
@@
-1183,8
+1183,8
@@
LogicalResult OpWithShapedTypeInferTypeInterfaceOp::inferReturnTypeComponents(
auto type = IntegerType::get(context, 17);
Attribute encoding;
- if (auto ranked
_t
y = sval.dyn_cast<RankedTensorType>())
- encoding = ranked
_t
y.getEncoding();
+ if (auto ranked
T
y = sval.dyn_cast<RankedTensorType>())
+ encoding = ranked
T
y.getEncoding();
inferredReturnShapes.push_back(ShapedTypeComponents({dim}, type, encoding));
return success();
}