[llvm] r178675 - R600: Fix last ALU of a clause being emitted in a separate clause
Vincent Lejeune
vljn at ovi.com
Fri Apr 5 07:18:38 PDT 2013
Actually the bug only appears when there are at least 2 clauses, and a clause contains up to 128 alu instructions.
Thus the test case need to be rather long... (This 800+ lines long test is translated to a "just" 3 clause long machine code).
I'm not sure Bugpoint can be used for R600 ; if I understand correctly, Bugpoint needs to be able to run the code to determine
if code is miscompiled, but this can't be done that easily for gpu (it requires a driver and a runtime like openGL/openCL).
We don't use the llvm test suite but an opengl test suite, Piglit ( http://people.freedesktop.org/~nh/piglit/ ) to check the
correctness of generated code. That's how I spot bugs ; I can remove the lit test case if it slows down too much lit test,
and still have the bug covered by Piglit.
Vincent
>________________________________
> De : Sean Silva <silvas at purdue.edu>
>À : Vincent Lejeune <vljn at ovi.com>
>Cc : "llvm-commits at cs.uiuc.edu" <llvm-commits at cs.uiuc.edu>
>Envoyé le : Mercredi 3 avril 2013 20h32
>Objet : Re: [llvm] r178675 - R600: Fix last ALU of a clause being emitted in a separate clause
>
>
>Is there some way to reduce this test case? Have you tried running bugpoint <http://llvm.org/docs/Bugpoint.html> on it?
>
>
>-- Sean Silva
>
>
More information about the llvm-commits
mailing list