repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Added the ability to xfail based on llvmgcc version
[llvm-complete.git]
/
test
/
Transforms
/
LevelRaise
/
2002-07-16-RaiseCrash2.ll
blob
6ca0b1343c7839d4f9e35fd206a705f1bb1eb578
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
}