1*9880d681SAndroid Build Coastguard Worker; REQUIRES: asserts 2*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -mtriple=arm64-linux-gnu -mcpu=cortex-a57 -enable-misched=0 -debug-only=misched -o - 2>&1 > /dev/null | FileCheck %s 3*9880d681SAndroid Build Coastguard Worker 4*9880d681SAndroid Build Coastguard Worker 5*9880d681SAndroid Build Coastguard Worker@G1 = common global [100 x i32] zeroinitializer, align 4 6*9880d681SAndroid Build Coastguard Worker@G2 = common global [100 x i32] zeroinitializer, align 4 7*9880d681SAndroid Build Coastguard Worker 8*9880d681SAndroid Build Coastguard Worker; Check that no scheduling dependencies are created between the paired loads and the store during post-RA MI scheduling. 9*9880d681SAndroid Build Coastguard Worker; 10*9880d681SAndroid Build Coastguard Worker; CHECK-LABEL: # Machine code for function foo: Properties: <Post SSA 11*9880d681SAndroid Build Coastguard Worker; CHECK: SU(2): %W{{[0-9]+}}<def>, %W{{[0-9]+}}<def> = LDPWi 12*9880d681SAndroid Build Coastguard Worker; CHECK: Successors: 13*9880d681SAndroid Build Coastguard Worker; CHECK-NOT: ch SU(4) 14*9880d681SAndroid Build Coastguard Worker; CHECK: SU(3) 15*9880d681SAndroid Build Coastguard Worker; CHECK: SU(4): STRWui %WZR, %X{{[0-9]+}} 16*9880d681SAndroid Build Coastguard Workerdefine i32 @foo() { 17*9880d681SAndroid Build Coastguard Workerentry: 18*9880d681SAndroid Build Coastguard Worker %0 = load i32, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @G2, i64 0, i64 0), align 4 19*9880d681SAndroid Build Coastguard Worker %1 = load i32, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @G2, i64 0, i64 1), align 4 20*9880d681SAndroid Build Coastguard Worker store i32 0, i32* getelementptr inbounds ([100 x i32], [100 x i32]* @G1, i64 0, i64 0), align 4 21*9880d681SAndroid Build Coastguard Worker %add = add nsw i32 %1, %0 22*9880d681SAndroid Build Coastguard Worker ret i32 %add 23*9880d681SAndroid Build Coastguard Worker} 24