File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -4912,12 +4912,19 @@ bool DeclResultIdMapper::tryToCreateConstantVar(const ValueDecl *decl) {
49124912 constVal =
49134913 spvBuilder.getConstantInt (astContext.UnsignedIntTy , val->getInt ());
49144914 break ;
4915+ case BuiltinType::ULongLong: // uint64_t
4916+ constVal =
4917+ spvBuilder.getConstantInt (astContext.UnsignedLongLongTy , val->getInt ());
4918+ break ;
49154919 case BuiltinType::Short: // int16_t
49164920 constVal = spvBuilder.getConstantInt (astContext.ShortTy , val->getInt ());
49174921 break ;
49184922 case BuiltinType::Int: // int32_t
49194923 constVal = spvBuilder.getConstantInt (astContext.IntTy , val->getInt ());
49204924 break ;
4925+ case BuiltinType::LongLong: // int64_t
4926+ constVal = spvBuilder.getConstantInt (astContext.LongLongTy , val->getInt ());
4927+ break ;
49214928 case BuiltinType::Half: // float16_t
49224929 constVal = spvBuilder.getConstantFloat (astContext.HalfTy , val->getFloat ());
49234930 break ;
You can’t perform that action at this time.
0 commit comments