Taints the non-acquire RMW's store address with the load part
[oota-llvm.git] / test / CodeGen / AArch64 / arm64-reg-copy-noneon.ll
1 ; RUN: llc -mtriple=arm64-none-linux-gnu -mattr=-neon < %s | FileCheck %s
2
3 define float @copy_FPR32(float %a, float %b) {
4 ;CHECK-LABEL: copy_FPR32:
5 ;CHECK: fmov s0, s1
6   ret float %b;
7 }
8   
9 define double @copy_FPR64(double %a, double %b) {
10 ;CHECK-LABEL: copy_FPR64:
11 ;CHECK: fmov d0, d1
12   ret double %b;
13 }
14   
15 define 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 }