projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Remove obsolete -abort-on-exception flag from LLI
[oota-llvm.git]
/
test
/
Transforms
/
LevelRaise
/
2002-07-16-RaiseCrash2.ll
1
; This crashes raise, with an cast<> failure
2
3
; RUN: llvm-as < %s | opt -raise
4
5
implementation
6
sbyte* %test(int* %ptr) {
7
%A = cast int* %ptr to sbyte *
8
%A = cast sbyte* %A to ulong
9
%B = add ulong %A, %A
10
%B = cast ulong %B to sbyte*
11
ret sbyte * %B
12
}