forked from OSchip/llvm-project
32 lines
1.2 KiB
YAML
32 lines
1.2 KiB
YAML
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
|
|
# RUN: llc -O0 -march=aarch64 -o - -run-pass=legalizer %s | FileCheck %s
|
|
---
|
|
name: loadstore128_align4
|
|
exposesReturnsTwice: false
|
|
legalized: false
|
|
tracksRegLiveness: true
|
|
body: |
|
|
bb.1:
|
|
liveins: $x0, $x1
|
|
|
|
; CHECK-LABEL: name: loadstore128_align4
|
|
; CHECK: liveins: $x0, $x1
|
|
; CHECK: [[COPY:%[0-9]+]]:_(p0) = COPY $x0
|
|
; CHECK: [[COPY1:%[0-9]+]]:_(p0) = COPY $x1
|
|
; CHECK: [[LOAD:%[0-9]+]]:_(s64) = G_LOAD [[COPY]](p0) :: (load 8, align 4)
|
|
; CHECK: [[C:%[0-9]+]]:_(s64) = G_CONSTANT i64 8
|
|
; CHECK: [[GEP:%[0-9]+]]:_(p0) = G_GEP [[COPY]], [[C]](s64)
|
|
; CHECK: [[LOAD1:%[0-9]+]]:_(s64) = G_LOAD [[GEP]](p0) :: (load 8, align 4)
|
|
; CHECK: G_STORE [[LOAD]](s64), [[COPY1]](p0) :: (store 8, align 4)
|
|
; CHECK: [[C1:%[0-9]+]]:_(s64) = G_CONSTANT i64 8
|
|
; CHECK: [[GEP1:%[0-9]+]]:_(p0) = G_GEP [[COPY1]], [[C1]](s64)
|
|
; CHECK: G_STORE [[LOAD1]](s64), [[GEP1]](p0) :: (store 8, align 4)
|
|
; CHECK: RET_ReallyLR
|
|
%0:_(p0) = COPY $x0
|
|
%1:_(p0) = COPY $x1
|
|
%2:_(s128) = G_LOAD %0(p0) :: (load 16, align 4)
|
|
G_STORE %2(s128), %1(p0) :: (store 16, align 4)
|
|
RET_ReallyLR
|
|
|
|
...
|