mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
9e500f13e4
Differential Revision: https://reviews.llvm.org/D43807 llvm-svn: 326226
12 lines
205 B
LLVM
12 lines
205 B
LLVM
; RUN: llc < %s | FileCheck %s
|
|
|
|
target triple = "thumbv7-linux-androideabi"
|
|
|
|
define i1 @f() {
|
|
%a = alloca i8*
|
|
; CHECK: adds.w r0, sp, #0
|
|
; CHECK: it ne
|
|
%cmp = icmp ne i8** %a, null
|
|
ret i1 %cmp
|
|
}
|