54 lines · plain
1# RUN: llc -run-pass=machine-scheduler -mtriple=aarch64-linux-gnu -mcpu=neoverse-v2 %s -o /dev/null 2>&12# RUN: llc -passes=machine-scheduler -mtriple=aarch64-linux-gnu -mcpu=neoverse-v2 %s -o /dev/null 2>&13# Just ensure this doesn't crash. Ensures in the neoverse-v24# scheduling model we don't attempt to treat the first input5# operand of MOVZXi as an immediate operand.6 7--- |8 target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128-Fn32"9 10 declare void @foo2(<2 x float>) #011 12 define void @foo1() #0 {13 call void @foo2(<2 x float> <float 2.500000e-01, float 7.500000e-01>)14 ret void15 }16 17 attributes #0 = { "target-cpu"="neoverse-v2" }18 19...20---21name: foo122alignment: 1623tracksRegLiveness: true24registers:25 - { id: 0, class: gpr64 }26 - { id: 1, class: gpr64 }27 - { id: 2, class: gpr64common }28 - { id: 3, class: gpr64common }29 - { id: 4, class: fpr64 }30frameInfo:31 maxAlignment: 132 adjustsStack: true33 hasCalls: true34 maxCallFrameSize: 035constants:36 - id: 037 value: '<2 x i32> <i32 1048576000, i32 1061158912>'38 alignment: 839machineFunctionInfo: {}40body: |41 bb.0 (%ir-block.0):42 ADJCALLSTACKDOWN 0, 0, implicit-def dead $sp, implicit $sp43 %2:gpr64common = MOVZXi target-flags(aarch64-g0, aarch64-nc) %const.0, 044 %2:gpr64common = MOVKXi %2, target-flags(aarch64-g1, aarch64-nc) %const.0, 1645 %2:gpr64common = MOVKXi %2, target-flags(aarch64-g2, aarch64-nc) %const.0, 3246 %2:gpr64common = MOVKXi %2, target-flags(aarch64-g3) %const.0, 4847 %4:fpr64 = LDRDui %2, 0 :: (load (s64) from constant-pool)48 $d0 = COPY %449 BL @foo2, csr_aarch64_aapcs, implicit-def dead $lr, implicit $sp, implicit killed $d0, implicit-def $sp50 ADJCALLSTACKUP 0, 0, implicit-def dead $sp, implicit $sp51 RET_ReallyLR52 53...54