These are the tests requested in D19292.
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
Ugh... while these tests are correct, I just noticed Mips assumes there's exactly one argument before the ... in arument list, and breaks hopelessly if that's not true. x86_64 is also broken, but less so - it assumes all arguments before ... fit in registers (ie. 6 ints/pointers, plus some floats). I haven't looked into AArch64 yet, but I suspect the same issue as x86_64.
I'm not sure what does "-el" mean in "vararg-el.ll". Can you pick a more descriptive suffix? Or add a comment to the test describing the difference from "vararg.ll".
Issue reported at https://llvm.org/bugs/show_bug.cgi?id=27646 . I'll attempt to fix it for Mips64 and PowerPC64.
It's for mips64el (little-endian variant). I'll change the names to vararg-mips64.ll and vararg-mips64el.ll .