[llvm-bugs] [Bug 28771] New: InstSimplify crashes on trivial bitcast

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jul 29 09:03:00 PDT 2016


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

            Bug ID: 28771
           Summary: InstSimplify crashes on trivial bitcast
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Scalar Optimizations
          Assignee: unassignedbugs at nondot.org
          Reporter: escha at apple.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

define <2 x i32> @test() {
  %tmp6 = bitcast <4 x half> <half undef, half undef, half undef, half 0xH3C00>
to <2 x i32>
  ret <2 x i32> %tmp6
}

Assertion failed: (C->getType()->isIntOrIntVectorTy() && "ZEXt operand must be
integral"), function getZExt, file ../lib/IR/Constants.cpp, line 1598.
Stack dump:
0.    Program arguments: bin/opt -instsimplify -S 
1.    Running pass 'Function Pass Manager' on module '<stdin>'.
2.    Running pass 'Remove redundant instructions' on function '@test'

-- 
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/20160729/c821f367/attachment-0001.html>


More information about the llvm-bugs mailing list