[LLVMbugs] [Bug 14572] New: SROA asserts with "Only alloca-wide stores can be split and recomposed"
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Dec 11 06:59:14 PST 2012
http://llvm.org/bugs/show_bug.cgi?id=14572
Bug #: 14572
Summary: SROA asserts with "Only alloca-wide stores can be
split and recomposed"
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: Scalar Optimizations
AssignedTo: unassignedbugs at nondot.org
ReportedBy: silviu.baranga at arm.com
CC: chandlerc at gmail.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 9674
--> http://llvm.org/bugs/attachment.cgi?id=9674
This LLVM assembly file can be used to reproduce the bug.
On LLVM trunk(r169863) the SROA pass asserts with:
SROA.cpp:2611:
bool<unnamed>::AllocaPartitionRewriter::visitStoreInst(llvm::StoreInst&):
Assertion `V->getType()->getIntegerBitWidth() ==
TD.getTypeSizeInBits(OldAI.getAllocatedType()) && "Only alloca-wide stores can
be split and recomposed"' failed.
To reproduce this bug run:
opt -sroa test.ll
The test.ll file is attached to this bug report.
Running opt --version gives:
LLVM (http://llvm.org/):
LLVM version 3.3svn
DEBUG build with assertions.
Built Dec 11 2012 (13:53:02).
Default target: x86_64-unknown-linux-gnu
Host CPU: corei7-avx
The bug doesn't seem to trigger when going through llc.
--
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