We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58e7545 commit 6cba9c1Copy full SHA for 6cba9c1
mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
@@ -149,8 +149,10 @@ static Value createLinalgBodyCalculationForElementwiseOp(
149
auto inputZpAttr = cast<tosa::NegateOp>(op).getInput1ZpAttr();
150
auto outputZpAttr = cast<tosa::NegateOp>(op).getOutputZpAttr();
151
152
- const int64_t inZp = inputZpAttr ? inputZpAttr.getValue().getSExtValue() : 0;
153
- const int64_t outZp = outputZpAttr ? outputZpAttr.getValue().getSExtValue() : 0;
+ const int64_t inZp =
+ inputZpAttr ? inputZpAttr.getValue().getSExtValue() : 0;
154
+ const int64_t outZp =
155
+ outputZpAttr ? outputZpAttr.getValue().getSExtValue() : 0;
156
157
if (!inZp && !outZp) {
158
auto constant = rewriter.create<arith::ConstantOp>(
0 commit comments