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 6c0f7a5 commit 1b58e77Copy full SHA for 1b58e77
mlir/lib/Dialect/SPIRV/IR/SPIRVOps.cpp
@@ -727,9 +727,9 @@ void mlir::spirv::ConstantOp::getAsmResultNames(
727
return setNameFn(getResult(), (intCst.getInt() ? "true" : "false"));
728
}
729
730
- if (intTy.isSignless()) {
+ if (intTy && intTy.isSignless()) {
731
specialName << intCst.getInt();
732
- } else if (intTy.isUnsigned()) {
+ } else if (intTy && intTy.isUnsigned()) {
733
specialName << intCst.getUInt();
734
} else {
735
specialName << intCst.getSInt();
0 commit comments