[llvm-bugs] [Bug 28564] New: [SeparateConstOffsetFromGEP] split-gep-and-gvn.ll and split-gep-and-gvn-addrspace-addressing-modes.ll tests fail

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jul 14 22:37:07 PDT 2016


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

            Bug ID: 28564
           Summary: [SeparateConstOffsetFromGEP] split-gep-and-gvn.ll and
                    split-gep-and-gvn-addrspace-addressing-modes.ll tests
                    fail
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Scalar Optimizations
          Assignee: wujingyue at gmail.com
          Reporter: david.majnemer at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

The logic in andIRFlags/copyIRFlags didn't handle the inbounds attribute, this
caused GVN to miscompile.  With this fixed in r275532, split-gep-and-gvn.ll and
split-gep-and-gvn-addrspace-addressing-modes.ll both fail.  This is likely to a
missing inbounds flag on a GEP which later got CSE'd by GVN.

-- 
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/20160715/00d5ed8e/attachment.html>


More information about the llvm-bugs mailing list