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
/
ConstProp
/
float-to-ptr-cast.ll
blob
937f606bf1366870a4beecedef63cae9c677e9dc
1
; RUN: opt < %s -constprop -S | FileCheck %s
2
3
define i32* @test1() {
4
%X = inttoptr i64 0 to i32* ; <i32*> [#uses=1]
5
ret i32* %X
6
}
7
8
; CHECK: ret i32* null
9
10
define i32* @test2() {
11
ret i32* null
12
}
13
14
; CHECK: ret i32* null
15