mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
91bb437eb8
As discussed on PR27654, this patch fixes the triples of a lot of aarch64 tests and enables lit tests on windows This will hopefully help stop cases where windows developers break the aarch64 target Differential Revision: https://reviews.llvm.org/D22191 llvm-svn: 275973
12 lines
245 B
LLVM
12 lines
245 B
LLVM
; 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
|
|
}
|