X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FCodeGen%2FMSP430%2Fbit.ll;h=45964f97f1bf86a6a8110ea3cc6d54384a3358a1;hb=813f44a29fd0fd140127023222d0633e23783bcc;hp=03d672bcbe6a87428cde6d3d00a378aff78724c5;hpb=48eb39b1abe1476f248d8b8e87ca4bb7496ce346;p=oota-llvm.git diff --git a/test/CodeGen/MSP430/bit.ll b/test/CodeGen/MSP430/bit.ll index 03d672bcbe6..45964f97f1b 100644 --- a/test/CodeGen/MSP430/bit.ll +++ b/test/CodeGen/MSP430/bit.ll @@ -11,7 +11,7 @@ define i8 @bitbrr(i8 %a, i8 %b) nounwind { %t3 = zext i1 %t2 to i8 ret i8 %t3 } -; CHECK: bitbrr: +; CHECK-LABEL: bitbrr: ; CHECK: bit.b r14, r15 define i8 @bitbri(i8 %a) nounwind { @@ -20,7 +20,7 @@ define i8 @bitbri(i8 %a) nounwind { %t3 = zext i1 %t2 to i8 ret i8 %t3 } -; CHECK: bitbri: +; CHECK-LABEL: bitbri: ; CHECK: bit.b #15, r15 define i8 @bitbir(i8 %a) nounwind { @@ -29,58 +29,58 @@ define i8 @bitbir(i8 %a) nounwind { %t3 = zext i1 %t2 to i8 ret i8 %t3 } -; CHECK: bitbir: +; CHECK-LABEL: bitbir: ; CHECK: bit.b #15, r15 define i8 @bitbmi() nounwind { - %t1 = load i8* @foo8 + %t1 = load i8, i8* @foo8 %t2 = and i8 %t1, 15 %t3 = icmp ne i8 %t2, 0 %t4 = zext i1 %t3 to i8 ret i8 %t4 } -; CHECK: bitbmi: +; CHECK-LABEL: bitbmi: ; CHECK: bit.b #15, &foo8 define i8 @bitbim() nounwind { - %t1 = load i8* @foo8 + %t1 = load i8, i8* @foo8 %t2 = and i8 15, %t1 %t3 = icmp ne i8 %t2, 0 %t4 = zext i1 %t3 to i8 ret i8 %t4 } -; CHECK: bitbim: +; CHECK-LABEL: bitbim: ; CHECK: bit.b #15, &foo8 define i8 @bitbrm(i8 %a) nounwind { - %t1 = load i8* @foo8 + %t1 = load i8, i8* @foo8 %t2 = and i8 %a, %t1 %t3 = icmp ne i8 %t2, 0 %t4 = zext i1 %t3 to i8 ret i8 %t4 } -; CHECK: bitbrm: +; CHECK-LABEL: bitbrm: ; CHECK: bit.b &foo8, r15 define i8 @bitbmr(i8 %a) nounwind { - %t1 = load i8* @foo8 + %t1 = load i8, i8* @foo8 %t2 = and i8 %t1, %a %t3 = icmp ne i8 %t2, 0 %t4 = zext i1 %t3 to i8 ret i8 %t4 } -; CHECK: bitbmr: +; CHECK-LABEL: bitbmr: ; CHECK: bit.b r15, &foo8 define i8 @bitbmm() nounwind { - %t1 = load i8* @foo8 - %t2 = load i8* @bar8 + %t1 = load i8, i8* @foo8 + %t2 = load i8, i8* @bar8 %t3 = and i8 %t1, %t2 %t4 = icmp ne i8 %t3, 0 %t5 = zext i1 %t4 to i8 ret i8 %t5 } -; CHECK: bitbmm: +; CHECK-LABEL: bitbmm: ; CHECK: bit.b &bar8, &foo8 @foo16 = external global i16 @@ -92,7 +92,7 @@ define i16 @bitwrr(i16 %a, i16 %b) nounwind { %t3 = zext i1 %t2 to i16 ret i16 %t3 } -; CHECK: bitwrr: +; CHECK-LABEL: bitwrr: ; CHECK: bit.w r14, r15 define i16 @bitwri(i16 %a) nounwind { @@ -101,7 +101,7 @@ define i16 @bitwri(i16 %a) nounwind { %t3 = zext i1 %t2 to i16 ret i16 %t3 } -; CHECK: bitwri: +; CHECK-LABEL: bitwri: ; CHECK: bit.w #4080, r15 define i16 @bitwir(i16 %a) nounwind { @@ -110,57 +110,57 @@ define i16 @bitwir(i16 %a) nounwind { %t3 = zext i1 %t2 to i16 ret i16 %t3 } -; CHECK: bitwir: +; CHECK-LABEL: bitwir: ; CHECK: bit.w #4080, r15 define i16 @bitwmi() nounwind { - %t1 = load i16* @foo16 + %t1 = load i16, i16* @foo16 %t2 = and i16 %t1, 4080 %t3 = icmp ne i16 %t2, 0 %t4 = zext i1 %t3 to i16 ret i16 %t4 } -; CHECK: bitwmi: +; CHECK-LABEL: bitwmi: ; CHECK: bit.w #4080, &foo16 define i16 @bitwim() nounwind { - %t1 = load i16* @foo16 + %t1 = load i16, i16* @foo16 %t2 = and i16 4080, %t1 %t3 = icmp ne i16 %t2, 0 %t4 = zext i1 %t3 to i16 ret i16 %t4 } -; CHECK: bitwim: +; CHECK-LABEL: bitwim: ; CHECK: bit.w #4080, &foo16 define i16 @bitwrm(i16 %a) nounwind { - %t1 = load i16* @foo16 + %t1 = load i16, i16* @foo16 %t2 = and i16 %a, %t1 %t3 = icmp ne i16 %t2, 0 %t4 = zext i1 %t3 to i16 ret i16 %t4 } -; CHECK: bitwrm: +; CHECK-LABEL: bitwrm: ; CHECK: bit.w &foo16, r15 define i16 @bitwmr(i16 %a) nounwind { - %t1 = load i16* @foo16 + %t1 = load i16, i16* @foo16 %t2 = and i16 %t1, %a %t3 = icmp ne i16 %t2, 0 %t4 = zext i1 %t3 to i16 ret i16 %t4 } -; CHECK: bitwmr: +; CHECK-LABEL: bitwmr: ; CHECK: bit.w r15, &foo16 define i16 @bitwmm() nounwind { - %t1 = load i16* @foo16 - %t2 = load i16* @bar16 + %t1 = load i16, i16* @foo16 + %t2 = load i16, i16* @bar16 %t3 = and i16 %t1, %t2 %t4 = icmp ne i16 %t3, 0 %t5 = zext i1 %t4 to i16 ret i16 %t5 } -; CHECK: bitwmm: +; CHECK-LABEL: bitwmm: ; CHECK: bit.w &bar16, &foo16