-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Closed
Labels
Description
Bugzilla Link | 886 |
Resolution | FIXED |
Resolved on | Feb 22, 2010 12:54 |
Version | trunk |
OS | All |
Blocks | llvm/llvm-bugzilla-archive#895 |
Extended Description
This .ll file is buggy (%X isn't defined):
ulong %foo(ulong %x) {
%tmp.1 = load long* %X ; [#uses=1]
%tmp.3 = cast long %tmp.1 to ubyte ; [#uses=1]
%tmp.4 = shl ulong %x, ubyte %tmp.3 ; [#uses=1]
ret ulong %tmp.4
}
When parsing it, I don't get a good error from the asmparser, I get assertion failures.
I could have sworn this used to be caught.
-Chris