[LLVMbugs] [Bug 4891] Backend producing incorrect code for aliased buffers

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Sep 9 07:30:51 PDT 2009


http://llvm.org/bugs/show_bug.cgi?id=4891


Dan Gohman <gohman at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #15 from Dan Gohman <gohman at apple.com>  2009-09-09 09:30:50 ---
This is fixed on TOT in r81343 here:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090907/086743.html

GenWidenVectorLoads itself was fine, but the code that called it was
accidentally using the wrong chain.

The original testcase is now compiled to this, with both loads happening
before either store:
        movl    (%rdi), %eax
        movl    (%rsi), %ecx
        movl    %ecx, (%rdi)
        movl    %eax, (%rsi)

And, Dave's reset.bad testcase is now compiled correctly.


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list