Skip to content

Commit 490eea9

Browse files
joker-ephCopilot
andauthored
Update mlir/lib/IR/ODSSupport.cpp
Co-authored-by: Copilot <[email protected]>
1 parent 577226f commit 490eea9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/IR/ODSSupport.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ mlir::convertFromAttribute(int8_t &storage, Attribute attr,
5656
emitError() << "expected IntegerAttr for key `value`";
5757
return failure();
5858
}
59-
storage = valueAttr.getValue().getZExtValue();
59+
storage = valueAttr.getValue().getSExtValue();
6060
return success();
6161
}
6262

0 commit comments

Comments
 (0)