There is no need to replace the original call instruction if no
VarArgs need to be forwarded.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Ping. This change only replaces the call site if there actually are varargs to forward.
Comment Actions
This change isn't a no-op: the code inside the if statement drops the calling convention/attributes/metadata/etc. on the call. Is that intentional?
Comment Actions
Thanks for having a look Eli! Dropping all the info is not intentional, this was missed during review. I've patch that adds debug locations D40432 and will follow this up with another patch preserving other metadata & co