You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.246
Former-commit-id: 0c7ce5b1a7851e13f22acfd379b7f9fb304e4833
This commit is contained in:
parent
a7724cd563
commit
279aa8f685
18
external/llvm/test/Transforms/ADCE/unreachable.ll
vendored
Normal file
18
external/llvm/test/Transforms/ADCE/unreachable.ll
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
; RUN: opt < %s -adce -simplifycfg | llvm-dis
|
||||
; RUN: opt < %s -passes=adce | llvm-dis
|
||||
|
||||
define i32 @Test(i32 %A, i32 %B) {
|
||||
BB1:
|
||||
br label %BB4
|
||||
|
||||
BB2: ; No predecessors!
|
||||
br label %BB3
|
||||
|
||||
BB3: ; preds = %BB4, %BB2
|
||||
%ret = phi i32 [ %X, %BB4 ], [ %B, %BB2 ] ; <i32> [#uses=1]
|
||||
ret i32 %ret
|
||||
|
||||
BB4: ; preds = %BB1
|
||||
%X = phi i32 [ %A, %BB1 ] ; <i32> [#uses=1]
|
||||
br label %BB3
|
||||
}
|
Reference in New Issue
Block a user