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
ELF: Have __rela_iplt_{start,end} surround .rela.iplt with --pack-dyn-relocs=android.
[llvm-project.git]
/
llvm
/
test
/
Transforms
/
GVN
/
basic.ll
blob
09155bf4cf2fd57ec12780583d41fabff0a8a550
1
; RUN: opt < %s -passes=gvn -S | FileCheck %s
2
3
define i32 @main() {
4
block1:
5
%z1 = bitcast i32 0 to i32
6
br label %block2
7
block2:
8
%z2 = bitcast i32 0 to i32
9
ret i32 %z2
10
}
11
12
; CHECK: define i32 @main() {
13
; CHECK-NEXT: block1:
14
; CHECK-NEXT: ret i32 0
15
; CHECK-NEXT: }