[LLVMbugs] [Bug 10530] New: early-cse somehow produces invalid bitcode, bitcode cannot be read back
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Jul 28 13:49:25 PDT 2011
http://llvm.org/bugs/show_bug.cgi?id=10530
Summary: early-cse somehow produces invalid bitcode, bitcode
cannot be read back
Product: libraries
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: Scalar Optimizations
AssignedTo: unassignedbugs at nondot.org
ReportedBy: asl at math.spbu.ru
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=6962)
--> (http://llvm.org/bugs/attachment.cgi?id=6962)
Testcase
Consider the attached testcase.
I'm having:
$ ./opt -early-cse early-cse-bug.ll | ./llvm-dis
Assertion failed: (ShuffleVectorInst::isValidOperands(V1, V2, Mask) && "Invalid
shuffle vector constant expr operands!"), function getShuffleVector, file
/Users/asl/Projects/llvm/src/lib/VMCore/Constants.cpp, line 1696.
so, the bitcode written cannot be read back.
PS: Does anyone knows how one can strip unused types from the Module in the
shiny new typesystem world?
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list