28 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py2; RUN: llc -global-isel -mtriple=aarch64-unknown-unknown -stop-after=irtranslator -verify-machineinstrs %s -o - | FileCheck %s3 4; Make sure the i3 %arg8 value is correctly handled. This was trying5; to use MVT for EVT values passed on the stack and asserting before6; b98f902f1877c3d679f77645a267edc89ffcd5d67define i3 @bug47619(i64 %arg, i64 %arg1, i64 %arg2, i64 %arg3, i64 %arg4, i64 %arg5, i64 %arg6, i64 %arg7, i3 %arg8) {8 ; CHECK-LABEL: name: bug476199 ; CHECK: bb.1.bb:10 ; CHECK: liveins: $x0, $x1, $x2, $x3, $x4, $x5, $x6, $x711 ; CHECK: [[COPY:%[0-9]+]]:_(s64) = COPY $x012 ; CHECK: [[COPY1:%[0-9]+]]:_(s64) = COPY $x113 ; CHECK: [[COPY2:%[0-9]+]]:_(s64) = COPY $x214 ; CHECK: [[COPY3:%[0-9]+]]:_(s64) = COPY $x315 ; CHECK: [[COPY4:%[0-9]+]]:_(s64) = COPY $x416 ; CHECK: [[COPY5:%[0-9]+]]:_(s64) = COPY $x517 ; CHECK: [[COPY6:%[0-9]+]]:_(s64) = COPY $x618 ; CHECK: [[COPY7:%[0-9]+]]:_(s64) = COPY $x719 ; CHECK: [[FRAME_INDEX:%[0-9]+]]:_(p0) = G_FRAME_INDEX %fixed-stack.020 ; CHECK: [[LOAD:%[0-9]+]]:_(s32) = G_LOAD [[FRAME_INDEX]](p0) :: (invariant load (s32) from %fixed-stack.0, align 16)21 ; CHECK: [[TRUNC:%[0-9]+]]:_(s3) = G_TRUNC [[LOAD]](s32)22 ; CHECK: [[ANYEXT:%[0-9]+]]:_(s32) = G_ANYEXT [[TRUNC]](s3)23 ; CHECK: $w0 = COPY [[ANYEXT]](s32)24 ; CHECK: RET_ReallyLR implicit $w025bb:26 ret i3 %arg827}28