• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
2# RUN: llc -mtriple=aarch64-none-linux-gnu -run-pass none -o - %s | FileCheck %s
3
4--- |
5
6  define void @target_memoperands() {
7    ret void
8  }
9
10...
11---
12name:            target_memoperands
13body: |
14  bb.0:
15
16    ; CHECK-LABEL: name: target_memoperands
17    ; CHECK: [[COPY:%[0-9]+]]:_(p0) = COPY $x0
18    ; CHECK: [[LOAD:%[0-9]+]]:_(s64) = G_LOAD [[COPY]](p0) :: ("aarch64-suppress-pair" load 8)
19    ; CHECK: [[LOAD1:%[0-9]+]]:_(s32) = G_LOAD [[COPY]](p0) :: ("aarch64-strided-access" load 4)
20    ; CHECK: G_STORE [[LOAD]](s64), [[COPY]](p0) :: ("aarch64-suppress-pair" store 8)
21    ; CHECK: G_STORE [[LOAD1]](s32), [[COPY]](p0) :: ("aarch64-strided-access" store 4)
22    ; CHECK: RET_ReallyLR
23    %0:_(p0) = COPY $x0
24    %1:_(s64) = G_LOAD %0(p0) :: ("aarch64-suppress-pair" load 8)
25    %2:_(s32) = G_LOAD %0(p0) :: ("aarch64-strided-access" load 4)
26    G_STORE %1(s64), %0(p0) :: ("aarch64-suppress-pair" store 8)
27    G_STORE %2(s32), %0(p0) :: ("aarch64-strided-access" store 4)
28    RET_ReallyLR
29...
30