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
[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git]
/
llvm
/
test
/
Transforms
/
NewGVN
/
pr24426.ll
blob
e8a88f5b267ab66ca6c9b4f61214f20e89c96914
1
; RUN: opt < %s -passes=memcpyopt,mldst-motion,newgvn -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