26 lines · plain
1; REQUIRES: asserts2; RUN: llc < %s -mtriple=arm64-linux-gnu -mcpu=cortex-a57 -enable-misched=0 -debug-only=machine-scheduler -o - 2>&1 > /dev/null | FileCheck %s3; REQUIRES: asserts4 5@G = external dso_local global [0 x i32], align 46 7; Check that MMOs are added to epilogue calle-save restore loads so8; that the store to G is not considered dependant on the callee-save9; loads.10;11; CHECK: Before post-MI-sched:12; CHECK-LABEL: # Machine code for function test1:13; CHECK: SU(2): STRWui $wzr14; CHECK: SU(3): $x21, $x20 = frame-destroy LDPXi $sp, 215; CHECK: Predecessors:16; CHECK-NEXT: SU(0): Out17; CHECK-NEXT: SU(0): Out18; CHECK-NEXT: SU(0): Ord19; CHECK-NEXT: Successors:20define void @test1() {21entry:22 tail call void asm sideeffect "nop", "~{x20},~{x21},~{x22},~{x23}"() nounwind23 store i32 0, ptr @G, align 424 ret void25}26