[llvm-bugs] [Bug 32391] Optimization flag -O2 gives wrong results for SSE2 and AVX intrinsics

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Sep 5 09:36:24 PDT 2017


Sanjay Patel <spatel+llvm at rotateright.com> changed:

           What    |Removed                     |Added
           See Also|                            |https://bugs.llvm.org/show_
                   |                            |bug.cgi?id=33967
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #6 from Sanjay Patel <spatel+llvm at rotateright.com> ---
(In reply to Hal Finkel from comment #5)
> (In reply to Sanjay Patel from comment #4)
> > Daniel, can you check the output using clang trunk? I can't reproduce the
> > bug anymore. I'm testing with clang built from r312533:
> > $ ./clang -v
> > clang version 6.0.0 (trunk 312533)
> > Target: x86_64-apple-darwin16.7.0
> > 
> > 
> > I think there was a bug in alias analysis that caused this.
> > 
> > Hal (cc'd) fixed something in this area very recently, but I'm not finding
> > that commit.
> I presume you're thinking about r312447 (PR33967). Just glancing at the
> source in this test case, it definitely could have been the same issue.

Yep - that's the one. I was searching in llvm instead of clang. Confirmed that
the zero output stops with that commit, so marking as fixed.

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170905/5f33cb29/attachment.html>

More information about the llvm-bugs mailing list