[cfe-dev] Missing the consideration of calling conversion in around 81 clang regression tests.

David Blaikie dblaikie at gmail.com
Tue Jun 23 07:55:46 PDT 2015


On Tue, Jun 23, 2015 at 1:25 AM, Maggie Yi <maggieyi666 at gmail.com> wrote:

> Dear All,
>
> I would like to discuss clang regression tests that will fail on targets
> that set specific calling conventions.
>
> For example, in Clang :: CodeGen/builtinshufflevector2.c:
>
> Expected IR:
>
> "define void @clang_shufflevector_v_v"
>
> IR generated with a default triple of armv7a_pc_linux:
>
> "define arm_aapcs void @clang_shufflevector_v_v"
>
> The test could be changed to expect "define{{.*}} void
> @clang_shufflevector_v_v".
>
> For ARM target with default triple armv7a_pc_linux, around 81 clang
> regression tests failed due to the same reason. It includes CodeGen,
> CodeGenCXX, CodeGenObjC, CodeGenObjCXX, CodeGenOpenCL, Modules, OpenMP,
> PCH, Profile and Sema tests.
>
> Would appreciate advice on whether I should generate a patch for this?
>

I think that's a reasonable thing to change/fix. I believe the intent is
that the tests should pass when run on any supported (sort of by
definition) target.


>
> Many thanks,
>
>
> Ying
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150623/e936c138/attachment.html>


More information about the cfe-dev mailing list