You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.205
Former-commit-id: 7f59f7e792705db773f1caecdaa823092f4e2927
This commit is contained in:
parent
5cd5df71cc
commit
8e12397d70
16
external/llvm/test/Transforms/GlobalDCE/deadblockaddr.ll
vendored
Normal file
16
external/llvm/test/Transforms/GlobalDCE/deadblockaddr.ll
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
; RUN: opt -globaldce -simplifycfg -S < %s | FileCheck %s
|
||||
|
||||
; Tests whether globaldce does the right cleanup while removing @bar
|
||||
; so that a dead BlockAddress reference to foo won't prevent other passes
|
||||
; to work properly, e.g. simplifycfg
|
||||
@bar = internal unnamed_addr constant i8* blockaddress(@foo, %L1)
|
||||
|
||||
; CHECK-LABEL: foo
|
||||
; CHECK-NOT: br label %L1
|
||||
; CHECK: ret void
|
||||
define void @foo() {
|
||||
entry:
|
||||
br label %L1
|
||||
L1:
|
||||
ret void
|
||||
}
|
Reference in New Issue
Block a user