• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# RUN: llc -run-pass=aarch64-ldst-opt -mtriple=arm64-apple-iphoneos -aarch64-load-store-renaming=true -o - -verify-machineinstrs %s | FileCheck %s
2--- |
3  define void @test_ld3(<8 x i8>* %a1) {
4  entry:
5    %s1 = alloca i64
6    ret void
7  }
8
9...
10---
11# CHECK-LABEL: name: test_ld3
12# CHECK: bb.0.entry:
13# CHECK:       renamable $x0, renamable $d0_d1_d2 = LD3Threev8b_POST killed renamable $x0, $xzr
14# CHECK-NEXT:  STPDi renamable $d0, renamable $d1, $fp, -6 :: (store 8)
15# CHECK-NEXT:  STURDi renamable $d2, $fp, -32, implicit killed $d0_d1_d2 :: (store 8 into %ir.s1)
16# CHECK-NEXT:  renamable $d0_d1_d2 = LD3Threev8b killed renamable $x0 :: (load 24 from %ir.a1, align 32)
17# CHECK-NEXT:  STPDi renamable $d0, renamable $d1, $fp, -3 :: (store 8)
18# CHECK-NEXT:  STURDi renamable $d2, $fp, -8, implicit killed $d0_d1_d2 :: (store 8)
19# CHECK-NEXT:  RET undef $lr
20#
21name:            test_ld3
22alignment:       4
23tracksRegLiveness: true
24frameInfo: {}
25machineFunctionInfo: {}
26body:             |
27  bb.0.entry:
28    liveins: $x0, $x1, $lr, $fp
29
30    renamable $x0, renamable $d0_d1_d2 = LD3Threev8b_POST killed renamable $x0, $xzr
31    STURDi renamable $d0, $fp, -48 :: (store 8)
32    STURDi renamable $d1, $fp, -40 :: (store 8)
33    STURDi renamable $d2, $fp, -32, implicit killed $d0_d1_d2 :: (store 8 into %ir.s1)
34    renamable $d0_d1_d2 = LD3Threev8b killed renamable $x0 :: (load 24 from %ir.a1, align 32)
35    STURDi renamable $d0, $fp, -24 :: (store 8)
36    STURDi renamable $d1, $fp, -16 :: (store 8)
37    STURDi renamable $d2, $fp, -8, implicit killed $d0_d1_d2 :: (store 8)
38    RET undef $lr
39
40...
41