================
@@ -504,12 +504,18 @@ bool MIRParserImpl::initializeCallSiteInfo(
return error(Error, ArgRegPair.Reg.SourceRange);
CSInfo.ArgRegPairs.emplace_back(Reg, ArgRegPair.ArgNo);
}
+ if (YamlCSInfo.TypeId.has_value()) {
+ IntegerType *Int64Ty = Type::getInt64Ty(Context);
+ CSInfo.TypeId = ConstantInt::get(Int64Ty, YamlCSInfo.TypeId.value(),
+ /*isSigned=*/false);
+ }
----------------
arsenm wrote:
```suggestion
if (YamlCSInfo.TypeId) {
IntegerType *Int64Ty = Type::getInt64Ty(Context);
CSInfo.TypeId = ConstantInt::get(Int64Ty, *YamlCSInfo.TypeId,
/*isSigned=*/false);
}
```
https://github.com/llvm/llvm-project/pull/87574
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits