diff options
Diffstat (limited to 'test/CodeGen/MSP430/Inst16mm.ll')
-rw-r--r-- | test/CodeGen/MSP430/Inst16mm.ll | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/test/CodeGen/MSP430/Inst16mm.ll b/test/CodeGen/MSP430/Inst16mm.ll index 5c93e37..c75e1be 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 ; <i32*> [#uses=1] %y = alloca i32, align 2 ; <i32*> [#uses=1] store i16 0, i16* %retval - %tmp = load i32* %y ; <i32> [#uses=1] + %tmp = load i32, i32* %y ; <i32> [#uses=1] store i32 %tmp, i32* %x store i16 0, i16* %retval - %0 = load i16* %retval ; <i16> [#uses=1] + %0 = load i16, i16* %retval ; <i16> [#uses=1] ret i16 %0 ; CHECK-LABEL: mov2: ; CHECK: mov.w 2(r1), 6(r1) |