source: icGREP/icgrep-devel/llvm-3.8.0.src/test/CodeGen/AArch64/arm64-reg-copy-noneon.ll @ 5027

Last change on this file since 5027 was 5027, checked in by cameron, 3 years ago

Upgrade to llvm 3.8

File size: 460 bytes
Line 
1; RUN: llc -mtriple=arm64-none-linux-gnu -mattr=-neon < %s | FileCheck %s
2
3define float @copy_FPR32(float %a, float %b) {
4;CHECK-LABEL: copy_FPR32:
5;CHECK: fmov s0, s1
6  ret float %b;
7}
8 
9define double @copy_FPR64(double %a, double %b) {
10;CHECK-LABEL: copy_FPR64:
11;CHECK: fmov d0, d1
12  ret double %b;
13}
14 
15define fp128 @copy_FPR128(fp128 %a, fp128 %b) {
16;CHECK-LABEL: copy_FPR128:
17;CHECK: str     q1, [sp, #-16]!
18;CHECK-NEXT: ldr        q0, [sp, #16]!
19  ret fp128 %b;
20}
Note: See TracBrowser for help on using the repository browser.