[llvm-bugs] [Bug 35515] New: SimplifyDemandedUseBits: Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Dec 4 05:25:23 PST 2017


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

            Bug ID: 35515
           Summary: SimplifyDemandedUseBits: Assertion `isa<X>(Val) &&
                    "cast<Ty>() argument of incompatible type!"' failed
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Scalar Optimizations
          Assignee: unassignedbugs at nondot.org
          Reporter: paulsson at linux.vnet.ibm.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 19516
  --> https://bugs.llvm.org/attachment.cgi?id=19516&action=edit
reduced testcase

Instcombiner triggers this assert. Although discovered with csmith on SystemZ,
this also triggers with -mtriple=x86_64-unknown-linux-gnu.

bin/opt -S -O2 ./tc_instcomb_demandUseBits.ll

-- 
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/20171204/a92031e4/attachment.html>


More information about the llvm-bugs mailing list