[llvm-bugs] [Bug 31038] New: r286875 is clobbering my other stores with zeros

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Nov 16 10:36:30 PST 2016


https://llvm.org/bugs/show_bug.cgi?id=31038

            Bug ID: 31038
           Summary: r286875 is clobbering my other stores with zeros
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: AArch64
          Assignee: unassignedbugs at nondot.org
          Reporter: andrew.b.adams at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 17595
  --> https://llvm.org/bugs/attachment.cgi?id=17595&action=edit
.ll and .s before and after

I have code that stores zero values interleaved with non-zero values. It
produces the right results with r286874, but incorrect results with r286875.
The .ll and .s before and after is attached.

The meaningful difference in the assembly seems to be

before:

    movi    d1, #0000000000000000

...

    str    d1, [x27], #8

after:

    str        xzr, [x27]
    str    xzr, [x27, #8]!

I think both d1 and xzr are 64-bit, so I'm not sure why there's an extra store,
and I think it's clobbering my other stores.

-- 
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/20161116/11956b70/attachment.html>


More information about the llvm-bugs mailing list