repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[InstCombine] Signed saturation patterns
[llvm-complete.git]
/
test
/
CodeGen
/
Thumb2
/
cmp-frame.ll
blob
ceb9697ecb8902a1a64aaecd65d5f7dfe4b7057e
1
; RUN: llc < %s | FileCheck %s
2
3
target triple = "thumbv7-linux-androideabi"
4
5
define i1 @f() {
6
%a = alloca i8*
7
; CHECK: adds.w r0, sp, #0
8
; CHECK: it ne
9
%cmp = icmp ne i8** %a, null
10
ret i1 %cmp
11
}