[llvm-bugs] [Bug 50267] New: DAG combine misses to check address space when eliminating store

via llvm-bugs llvm-bugs at lists.llvm.org
Fri May 7 16:23:06 PDT 2021


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

            Bug ID: 50267
           Summary: DAG combine misses to check address space when
                    eliminating store
           Product: libraries
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Common Code Generator Code
          Assignee: unassignedbugs at nondot.org
          Reporter: hgreving at google.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 24841
  --> https://bugs.llvm.org/attachment.cgi?id=24841&action=edit
DAG combine misses to check the address space when eliminating a store.

DAG combine misses to check the address space when eliminating a store in..

%v = load %ptr
// no chain side effect
store %v, %ptr

A suggested fix is https://reviews.llvm.org/D102096.

A test case in x86 is attached to the fix, or
https://www.godbolt.org/z/deT9d7z4K.

-- 
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/20210507/7b449cab/attachment.html>


More information about the llvm-bugs mailing list