Open tschuett opened 1 year ago
@llvm/issue-subscribers-backend-x86
x86 globalisel is not safe for use - there might be a fix for the specific issue you're seeing but I'd be very surprised if it allows you to then productively use globalisel
I do not plan to use it in production. I did some fixes in the legalizer, but the translator is beyond me.
e.g. https://reviews.llvm.org/D150755
It fails loud and fast. The calls are a high frequency issue.
// Handle only Linux C, X86_64_SysV calling conventions for now.
if (!STI.isTargetLinux() || !(Info.CallConv == CallingConv::C ||
Info.CallConv == CallingConv::X86_64_SysV))
return false;
This might be an issue. I am on OSX :-(
Another error:
remark: unable to lower arguments: ptr [-Rpass-missed=gisel-irtranslator]
I believe the issue is with opaque pointers, see
ptr
.Reproducer: