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] Better OR's for MVE compares
[llvm-core.git]
/
test
/
Transforms
/
InstCombine
/
2008-01-06-VoidCast.ll
blob
5dcaa38edc0249bc3198cc480bb1126f5bd5299f
1
; RUN: opt < %s -instcombine -S | FileCheck %s
2
3
define void @f(i16 %y) {
4
ret void
5
}
6
7
define i32 @g(i32 %y) {
8
; CHECK-LABEL: @g(
9
; CHECK: call i32 bitcast
10
%x = call i32 bitcast (void (i16)* @f to i32 (i32)*)( i32 %y ) ; <i32> [#uses=1]
11
ret i32 %x
12
}