☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
llvm
/
test
/
CodeGen
/
Thumb2
/
cmp-frame.ll
☽
☼
llvm/test/CodeGen/Thumb2/cmp-frame.ll
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
1
; RUN: llc < %s | FileCheck %s
2
3
target triple = "thumbv7-linux-androideabi"
4
5
define i1 @f() {
6
%a = alloca ptr
7
; CHECK: adds.w r0, sp, #0
8
; CHECK: it ne
9
%cmp = icmp ne ptr %a, null
10
ret i1 %cmp
11
}