-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Description
| Bugzilla Link | 2617 |
| Resolution | LATER |
| Resolved on | Oct 16, 2008 01:17 |
| Version | unspecified |
| OS | Linux |
| Reporter | LLVM Bugzilla Contributor |
| CC | @asl |
Extended Description
The following fails on the ia64 with llc -march ia64:
; ModuleID = 't0039.ubc'
define i32 @main(...) {
entry:
%retval = alloca i32 ; <i32*> [#uses=2]
store i32 0, i32* %retval
%fn = alloca void ()* ; <void ()> [#uses=2]
%f = alloca [1 x void ()] ; <[1 x void ()]> [#uses=1]
getelementptr [1 x void ()]* %f, i32 0, i32 1 ; <void ()>:0 [#uses=1]
bitcast void ()** %0 to void ()* ; <void ()>:1 [#uses=1]
store void () %1, void ()** %fn
load void ()** %fn ; <void ()*>:2 [#uses=1]
call void %2( )
br label %return
return: ; preds = %entry
load i32* %retval ; :3 [#uses=1]
ret i32 %3
}
[~/ellcc/ellcc] main% llc -f -march ia64 t0039.ubc
llc: /home/rich/llvm-trunk-new/lib/Target/TargetRegisterInfo.cpp:72: const llvm::TargetRegisterClass* llvm::TargetRegisterInfo::getPhysicalRegisterRegClass(unsigned int, llvm::MVT) const: Assertion `false && "Couldn't find the register class"' failed.
llc[0x8b5105e]
...