repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git]
/
llvm
/
test
/
Other
/
devirtualization-undef.ll
blob
9099c575ac191a1b7d3635590367f6052854efb4
1
; RUN: opt -passes='devirt<2>(function(simplifycfg))' %s -S | FileCheck %s
2
3
; CHECK: unreachable
4
5
declare void @llvm.assume(i1 noundef)
6
declare i1 @bar(i8* nonnull dereferenceable(1))
7
8
define void @foo() {
9
%a = call i1 null()
10
call void @llvm.assume(i1 %a)
11
ret void
12
}