[llvm] r262440 - revert r262424 because there's a *clang test* for AArch64 that checks -O3 asm output

Sanjay Patel via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 2 09:31:20 PST 2016


Thanks! The XFAIL jab was just a joke attempt. The C intrinsic tests are
absolutely needed.

I've added a comment to:
https://llvm.org/bugs/show_bug.cgi?id=26815

To give more context on a slightly different concern - the mapping of
intrinsics to asm at -O0.

For the sake of progress on this particular patch, are you ok if I make a
change similar to:
http://reviews.llvm.org/rL256395
?
I can post that patch for review before committing to make sure it hasn't
done something awful to ARM64.


On Wed, Mar 2, 2016 at 9:50 AM, Renato Golin <renato.golin at linaro.org>
wrote:

> On 2 March 2016 at 15:54, Sanjay Patel <spatel at rotateright.com> wrote:
> > Thanks for replying. I was going to ping the AArch64 experts about this.
> > There were 7 tests that broke with my patch in:
> > clang/test/CodeGen/aarch64-neon-misc.c
>
> Right, this makes things easier, since we only need to change one test for
> now.
>
>
> > This is at least the 3rd time I've had a clang test fail on me after
> making
> > an LLVM optimizer change. So I admit that I wanted to just XFAIL the
> whole
> > thing, but I wouldn't do that. :)
>
> Please, don't. Bad valid tests are better than no tests. If they were
> useless, however, I'd just remove.
>
>
> > So unless something has changed, I think we need to split each test in
> > aarch64-neon-misc.c (and other files like it) into pieces:
> > 1. A clang test for the C-level intrinsics -> LLVM intrinsics and/or
> native IR.
> > 2. A codegen test for LLVM intrinsic/IR -> asm.
>
> I absolutely agree, but I don't want this to become a witch hunt. I
> think we (ARM folks) really need to get together and come up with a
> plan.
>
> That's what PR26815 is all about. I've copied some people, feel free
> to copy even more. We need to prioritise this once and for all.
>
> cheers,
> --renato
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160302/5c41e1e1/attachment.html>


More information about the llvm-commits mailing list