mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-21 19:20:28 +00:00
4572ce85b0
llvm-svn: 33296
23 lines
458 B
LLVM
23 lines
458 B
LLVM
; RUN: llvm-upgrade < %s | llvm-as | opt -simplifycfg -disable-output
|
|
|
|
implementation ; Functions:
|
|
|
|
void %test(int* %ldo, bool %c, bool %d) {
|
|
bb9:
|
|
br bool %c, label %bb11, label %bb10
|
|
|
|
bb10: ; preds = %bb9
|
|
br label %bb11
|
|
|
|
bb11: ; preds = %bb10, %bb9
|
|
%reg330 = phi int* [ null, %bb10 ], [ %ldo, %bb9 ]
|
|
br label %bb20
|
|
|
|
bb20: ; preds = %bb23, %bb25, %bb27, %bb11
|
|
store int* %reg330, int** null
|
|
br bool %d, label %bb20, label %done
|
|
|
|
done:
|
|
ret void
|
|
}
|