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
Re-land [openmp] Fix warnings when building on Windows with latest MSVC or Clang...
[llvm-project.git]
/
llvm
/
test
/
Other
/
devirtualization-undef.ll
blob
bfa4998204685d71ec229192548237d627db719e
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(ptr nonnull dereferenceable(1))
7
8
define void @foo() {
9
%a = call i1 null()
10
call void @llvm.assume(i1 %a)
11
ret void
12
}