mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-19 02:03:11 +00:00
New testcase
llvm-svn: 5672
This commit is contained in:
parent
77840ef407
commit
bdb79e6172
@ -0,0 +1,15 @@
|
||||
; Test that hoisting is disabled for pointers of different types...
|
||||
;
|
||||
; RUN: as < %s | opt -licm
|
||||
|
||||
void %test(int* %P) {
|
||||
br label %Loop
|
||||
Loop:
|
||||
store int 5, int* %P
|
||||
%P2 = cast int* %P to sbyte*
|
||||
store sbyte 4, sbyte* %P2
|
||||
br bool true, label %loop, label %Out
|
||||
Out:
|
||||
ret void
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user