Code generation for return instruction of type <1 x i8> or <1 x i16> when using GlobalISel causes internal compiler crash Could not handle ret ty.
Details
Diff Detail
Event Timeline
llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp | ||
---|---|---|
417–418 | This whole function is bad and I'd prefer to stop making the situation worse. Can you try switching to the helpers in MachineIRBuilder? e.g. buildPadVectorWithUndefElements |
llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp | ||
---|---|---|
406–416 | Actually I think we have the same ugly code in the generic call lowering. I think at one point I was trying to delete this, maybe you'll have better luck now |
llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp | ||
---|---|---|
417–418 | Thank you for this suggestion, there is already buildPadVectorWithUndefElements I did update it to accept scalar type. |
Thank you for reviewing. I do not have the commit access, could you please commit for me.
Niwin Anto <niwin.anto@hightec-rt.com>
Actually I think we have the same ugly code in the generic call lowering. I think at one point I was trying to delete this, maybe you'll have better luck now