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
[rtsan] Add fork/execve interceptors (#117198)
[llvm-project.git]
/
llvm
/
test
/
Transforms
/
GVN
/
pr24426.ll
blob
2a0885750108f3d3848553d2b5574662a297ae9b
1
; RUN: opt < %s -passes=memcpyopt,mldst-motion,gvn -S | FileCheck %s
2
3
declare void @check(i8)
4
5
declare void @write(ptr %res)
6
7
define void @test1() {
8
%1 = alloca [10 x i8]
9
call void @write(ptr %1)
10
%2 = load i8, ptr %1
11
12
; CHECK-NOT: undef
13
call void @check(i8 %2)
14
15
ret void
16
}
17