X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FCodeGen%2FMSP430%2Fjumptable.ll;h=4ba930b04e39c09be9c559512f0d4d064b62f0e3;hb=00552e3875ee5f382db6c98286a241a7d0efe1b8;hp=239d79ed9cbaa24373d24eb7a6893422dbc62e1b;hpb=c7c4a7867cae8fb0ad5c79c3e67d75e415287626;p=oota-llvm.git diff --git a/test/CodeGen/MSP430/jumptable.ll b/test/CodeGen/MSP430/jumptable.ll index 239d79ed9cb..4ba930b04e3 100644 --- a/test/CodeGen/MSP430/jumptable.ll +++ b/test/CodeGen/MSP430/jumptable.ll @@ -10,7 +10,7 @@ entry: %retval = alloca i16, align 2 %i.addr = alloca i16, align 2 store i16 %i, i16* %i.addr, align 2 - %0 = load i16* %i.addr, align 2 + %0 = load i16, i16* %i.addr, align 2 ; CHECK: mov.w #2, r14 ; CHECK: call #__mulhi3hw_noint ; CHECK: br .LJTI0_0(r15) @@ -42,7 +42,7 @@ sw.default: ; preds = %entry br label %return return: ; preds = %sw.default, %sw.bb3, %sw.bb2, %sw.bb1, %sw.bb - %1 = load i16* %retval + %1 = load i16, i16* %retval ret i16 %1 ; CHECK: ret }