116 lines · plain
1# RUN: llc -mtriple=aarch64-none-linux-gnu -run-pass aarch64-ldst-opt -verify-machineinstrs -o - %s | FileCheck %s2---3# CHECK-LABEL: name: test_LDURSi_post4# CHECK: LDRSpost $x0, -45name: test_LDURSi_post6body: |7 bb.0.entry:8 liveins: $x09 10 $s0 = LDURSi $x0, 011 $x0 = SUBXri $x0, 4, 012 RET_ReallyLR implicit $x013...14# CHECK-LABEL: name: test_LDURDi_post15# CHECK: LDRDpost $x0, -416name: test_LDURDi_post17body: |18 bb.0.entry:19 liveins: $x020 21 $d0 = LDURDi $x0, 022 $x0 = SUBXri $x0, 4, 023 RET_ReallyLR implicit $x024...25# CHECK-LABEL: name: test_LDURQi_post26# CHECK: LDRQpost $x0, -427name: test_LDURQi_post28body: |29 bb.0.entry:30 liveins: $x031 32 $q0 = LDURQi $x0, 033 $x0 = SUBXri $x0, 4, 034 RET_ReallyLR implicit $x035...36# CHECK-LABEL: name: test_LDURWi_post37# CHECK: LDRWpost $x0, -438name: test_LDURWi_post39body: |40 bb.0.entry:41 liveins: $x042 43 $w1 = LDURWi $x0, 044 $x0 = SUBXri $x0, 4, 045 RET_ReallyLR implicit $x046...47# CHECK-LABEL: name: test_LDURXi_post48# CHECK: $x1 = LDRXpost $x0, -449name: test_LDURXi_post50body: |51 bb.0.entry:52 liveins: $x053 54 $x1 = LDURXi $x0, 055 $x0 = SUBXri $x0, 4, 056 RET_ReallyLR implicit $x057...58# CHECK-LABEL: name: test_STURSi_post59# CHECK: STRSpost $s0, $x0, -460name: test_STURSi_post61body: |62 bb.0.entry:63 liveins: $x064 65 $s0 = FMOVS066 STURSi $s0, $x0, 067 $x0 = SUBXri $x0, 4, 068 RET_ReallyLR implicit $x069...70# CHECK-LABEL: name: test_STURDi_post71# CHECK: STRDpost $d0, $x0, -472name: test_STURDi_post73body: |74 bb.0.entry:75 liveins: $x076 77 $d0 = FMOVD078 STURDi $d0, $x0, 079 $x0 = SUBXri $x0, 4, 080 RET_ReallyLR implicit $x081...82# CHECK-LABEL: name: test_STURQi_post83# CHECK: STRQpost $q0, $x0, -484name: test_STURQi_post85body: |86 bb.0.entry:87 liveins: $x088 89 $q0 = MOVIv4i32 0, 090 STURQi $q0, $x0, 091 $x0 = SUBXri $x0, 4, 092 RET_ReallyLR implicit $x093...94# CHECK-LABEL: name: test_STURWi_post95# CHECK: STRWpost $wzr, $x0, -496name: test_STURWi_post97body: |98 bb.0.entry:99 liveins: $x0100 101 STURWi $wzr, $x0, 0102 $x0 = SUBXri $x0, 4, 0103 RET_ReallyLR implicit $x0104...105# CHECK-LABEL: name: test_STURXi_post106# CHECK: STRXpost $xzr, $x0, -4107name: test_STURXi_post108body: |109 bb.0.entry:110 liveins: $x0111 112 STURXi $xzr, $x0, 0113 $x0 = SUBXri $x0, 4, 0114 RET_ReallyLR implicit $x0115...116