Sign in
cobalt
/
cobalt
/
b6855995c22e1d087309b04ad43845d3c6e263ee
/
.
/
src
/
third_party
/
llvm-project
/
llvm
/
test
/
CodeGen
/
AArch64
/
arm64-zext.ll
blob: 9470708ebdc07483b46815ee9ec2af2016aa90d4 [
file
] [
log
] [
blame
]
; RUN: llc < %s -mtriple=arm64-eabi | FileCheck %s
define
i64
@foo
(
i32
%a
,
i32
%b
)
nounwind
readnone
ssp
{
entry
:
; CHECK-LABEL: foo:
; CHECK: add w0, w1, w0
; CHECK: ret
%add
=
add
i32
%b
,
%a
%conv
=
zext
i32
%add
to
i64
ret
i64
%conv
}