X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FCodeGen%2FMSP430%2FInst16mm.ll;h=c75e1beb2356efe40ab46adf46253b007a1a14f6;hb=5f131f7a3701ff38c34fdbd9b449961a2a3b61ee;hp=5c93e37bfa96a67d74998a93455a0fef819e0236;hpb=8b2b8a18354546d534b72f912153a3252ab4b857;p=oota-llvm.git diff --git a/test/CodeGen/MSP430/Inst16mm.ll b/test/CodeGen/MSP430/Inst16mm.ll index 5c93e37bfa9..c75e1beb235 100644 --- a/test/CodeGen/MSP430/Inst16mm.ll +++ b/test/CodeGen/MSP430/Inst16mm.ll @@ -7,7 +7,7 @@ target triple = "msp430-generic-generic" define void @mov() nounwind { ; CHECK-LABEL: mov: ; CHECK: mov.w &bar, &foo - %1 = load i16* @bar + %1 = load i16, i16* @bar store i16 %1, i16* @foo ret void } @@ -15,8 +15,8 @@ define void @mov() nounwind { define void @add() nounwind { ; CHECK-LABEL: add: ; CHECK: add.w &bar, &foo - %1 = load i16* @bar - %2 = load i16* @foo + %1 = load i16, i16* @bar + %2 = load i16, i16* @foo %3 = add i16 %2, %1 store i16 %3, i16* @foo ret void @@ -25,8 +25,8 @@ define void @add() nounwind { define void @and() nounwind { ; CHECK-LABEL: and: ; CHECK: and.w &bar, &foo - %1 = load i16* @bar - %2 = load i16* @foo + %1 = load i16, i16* @bar + %2 = load i16, i16* @foo %3 = and i16 %2, %1 store i16 %3, i16* @foo ret void @@ -35,8 +35,8 @@ define void @and() nounwind { define void @bis() nounwind { ; CHECK-LABEL: bis: ; CHECK: bis.w &bar, &foo - %1 = load i16* @bar - %2 = load i16* @foo + %1 = load i16, i16* @bar + %2 = load i16, i16* @foo %3 = or i16 %2, %1 store i16 %3, i16* @foo ret void @@ -45,8 +45,8 @@ define void @bis() nounwind { define void @xor() nounwind { ; CHECK-LABEL: xor: ; CHECK: xor.w &bar, &foo - %1 = load i16* @bar - %2 = load i16* @foo + %1 = load i16, i16* @bar + %2 = load i16, i16* @foo %3 = xor i16 %2, %1 store i16 %3, i16* @foo ret void @@ -58,10 +58,10 @@ entry: %x = alloca i32, align 2 ; [#uses=1] %y = alloca i32, align 2 ; [#uses=1] store i16 0, i16* %retval - %tmp = load i32* %y ; [#uses=1] + %tmp = load i32, i32* %y ; [#uses=1] store i32 %tmp, i32* %x store i16 0, i16* %retval - %0 = load i16* %retval ; [#uses=1] + %0 = load i16, i16* %retval ; [#uses=1] ret i16 %0 ; CHECK-LABEL: mov2: ; CHECK: mov.w 2(r1), 6(r1)