projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
New testcase for infinite loop that the raise pass is getting into
[oota-llvm.git]
/
test
/
Transforms
/
LevelRaise
/
2002-07-16-RaiseCrash2.ll
1
; This crashes raise, with an cast<> failure
2
3
; RUN: 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
}