repo.or.cz
/
llvm-core.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[ARM] Adjust how NEON shifts are lowered
[llvm-core.git]
/
test
/
Transforms
/
GVN
/
basic.ll
blob
44b321306319a3e69180c343a9f9f22897231e64
1
; RUN: opt < %s -gvn -S | FileCheck %s
2
; RUN: opt < %s -passes=gvn -S | FileCheck %s
3
4
define i32 @main() {
5
block1:
6
%z1 = bitcast i32 0 to i32
7
br label %block2
8
block2:
9
%z2 = bitcast i32 0 to i32
10
ret i32 %z2
11
}
12
13
; CHECK: define i32 @main() {
14
; CHECK-NEXT: block1:
15
; CHECK-NEXT: ret i32 0
16
; CHECK-NEXT: }