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/Analysis/BasicAA/unreachable-block.ll
vendored
Normal file
16
external/llvm/test/Analysis/BasicAA/unreachable-block.ll
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
; RUN: opt -basicaa -aa-eval -disable-output < %s > /dev/null 2>&1
|
||||
|
||||
; BasicAA shouldn't infinitely recurse on the use-def cycles in
|
||||
; unreachable code.
|
||||
|
||||
define void @func_2() nounwind {
|
||||
entry:
|
||||
unreachable
|
||||
|
||||
bb:
|
||||
%t = select i1 undef, i32* %t, i32* undef
|
||||
%p = select i1 undef, i32* %p, i32* %p
|
||||
%q = select i1 undef, i32* undef, i32* %p
|
||||
%a = getelementptr i8, i8* %a, i32 0
|
||||
unreachable
|
||||
}
|
Reference in New Issue
Block a user