AArch64/ARM64: remove AArch64 from tree prior to renaming ARM64.
[oota-llvm.git] / test / CodeGen / ARM64 / zext.ll
1 ; RUN: llc < %s -march=arm64 | FileCheck %s
2
3 define i64 @foo(i32 %a, i32 %b) nounwind readnone ssp {
4 entry:
5 ; CHECK-LABEL: foo:
6 ; CHECK: add w0, w1, w0
7 ; CHECK: ret
8   %add = add i32 %b, %a
9   %conv = zext i32 %add to i64
10   ret i64 %conv
11 }