This is an archive of the discontinued LLVM Phabricator instance.

Set calling convention for varargs
AbandonedPublic

Authored by hiraditya on Apr 21 2018, 6:46 AM.

Details

Summary

Varargs only follow C calling conventions.

Unfortunately, I do not have a test case for this. I just saw this while reading the code.

Diff Detail

Event Timeline

hiraditya created this revision.Apr 21 2018, 6:46 AM

What branch is this patch against? Trunk doesn't have a file named MergeSimilarFunctions.cpp.

This is not in trunk I guess, I borrowed this pass from: https://reviews.llvm.org/D22051

hiraditya abandoned this revision.Sep 29 2019, 8:27 PM