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: wujing...@gmail.com
          Reporter: david.majne...@gmail.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to