1*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -mtriple=msp430-unknown-unknown -enable-misched | FileCheck %s 2*9880d681SAndroid Build Coastguard Worker 3*9880d681SAndroid Build Coastguard Workertarget datalayout = "e-p:16:16:16-i8:8:8-i16:16:16-i32:16:32-n8:16" 4*9880d681SAndroid Build Coastguard Worker 5*9880d681SAndroid Build Coastguard Worker@y = common global i16 0, align 2 6*9880d681SAndroid Build Coastguard Worker@x = common global i16 0, align 2 7*9880d681SAndroid Build Coastguard Worker 8*9880d681SAndroid Build Coastguard Worker; Test that the MI Scheduler's initPolicy does not crash when i32 is 9*9880d681SAndroid Build Coastguard Worker; unsupported. The content of the asm check below is unimportant. It 10*9880d681SAndroid Build Coastguard Worker; only verifies that the code generator ran successfully. 11*9880d681SAndroid Build Coastguard Worker; 12*9880d681SAndroid Build Coastguard Worker; CHECK-LABEL: @f 13*9880d681SAndroid Build Coastguard Worker; CHECK: mov.w &y, &x 14*9880d681SAndroid Build Coastguard Worker; CHECK: ret 15*9880d681SAndroid Build Coastguard Workerdefine void @f() { 16*9880d681SAndroid Build Coastguard Workerentry: 17*9880d681SAndroid Build Coastguard Worker %0 = load i16, i16* @y, align 2 18*9880d681SAndroid Build Coastguard Worker store i16 %0, i16* @x, align 2 19*9880d681SAndroid Build Coastguard Worker ret void 20*9880d681SAndroid Build Coastguard Worker} 21