[LLVMbugs] [Bug 3795] New: ARM assertion failure for simple first class aggregate
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Thu Mar 12 11:29:49 PDT 2009
http://llvm.org/bugs/show_bug.cgi?id=3795
Summary: ARM assertion failure for simple first class aggregate
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Keywords: compile-fail
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: tomas.l.olsen at gmail.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=2708)
--> (http://llvm.org/bugs/attachment.cgi?id=2708)
test case for arm codegen failure
The attached test case fails to compile for ARM with llc:
$ llvm-as foo.ll
$ llc -march=arm foo.bc
llc: ValueTypes.cpp:167: static llvm::MVT llvm::MVT::getMVT(const llvm::Type*,
bool): Assertion `0 && "Unknown type!"' failed.
0 llc 0x0887357d
1 0xb8066400 __kernel_sigreturn + 0
2 libc.so.6 0xb7dcf0c8 abort + 392
3 libc.so.6 0xb7dc66ee __assert_fail + 238
4 llc 0x08829e31 llvm::MVT::getMVT(llvm::Type const*, bool) + 801
5 llc 0x082a9273
llvm::ARMTargetLowering::isLegalAddressingMode(llvm::TargetLowering::AddrMode
const&, llvm::Type const*) const + 275
6 llc 0x08725cc9
7 llc 0x0872637d
8 llc 0x08725a12
9 llc 0x087267e8
10 llc 0x08728223
11 llc 0x087292f5
12 llc 0x08814671 llvm::FPPassManager::runOnFunction(llvm::Function&) +
417
13 llc 0x08814a47 llvm::FunctionPassManagerImpl::run(llvm::Function&) +
119
14 llc 0x08814bf5 llvm::FunctionPassManager::run(llvm::Function&) + 69
15 llc 0x08131e4b main + 4187
16 libc.so.6 0xb7db96c5 __libc_start_main + 229
17 llc 0x08130301
Aborted
The problematic code seems to be the variable GEP on line 15.
--
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