fix regression tests
authorAndrew Lenharth <andrewl@lenharth.org>
Fri, 13 May 2005 19:49:02 +0000 (19:49 +0000)
committerAndrew Lenharth <andrewl@lenharth.org>
Fri, 13 May 2005 19:49:02 +0000 (19:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21963 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/Alpha/ctlz.ll
test/CodeGen/Alpha/ctpop.ll
test/CodeGen/Alpha/neg1.ll
test/CodeGen/Alpha/s4addq.ll

index ad03e911f9b1248e0ad55c9851b888fcfd7382e9..390825ce1b0a62f0bfe5ddad6ff060990abc5f24 100644 (file)
@@ -1,6 +1,5 @@
 ; Make sure this testcase codegens to the ctlz instruction
-; XFAIL: *
-; RUN: llvm-as < %s | llc -march=alpha -enable-alpha-CT | grep 'ctlz'
+; RUN: llvm-as < %s | llc -march=alpha -enable-alpha-CT | grep -i 'ctlz'
 
 declare ubyte %llvm.ctlz(ubyte)
 
index 681c288cffa5d0f3b8983c197f554d1aa9a3d558..5c84a2cb5c95ebc2e5ed838abf20904409451d17 100644 (file)
@@ -1,6 +1,6 @@
 ; Make sure this testcase codegens to the ctpop instruction
 ; XFAIL: *
-; RUN: llvm-as < %s | llc -march=alpha -enable-alpha-CT | grep 'ctpop'
+; RUN: llvm-as < %s | llc -march=alpha -enable-alpha-CT | grep -i 'ctpop'
 
 declare long %llvm.ctpop(long)
 
index ebf2ac4fd65ef9a4a7b0fc07357e54ffc9471eb2..b8f7d69ee5da406bf922dcab9dfcbe3e42a34045 100644 (file)
@@ -1,6 +1,5 @@
 ; Make sure this testcase codegens to the lda -1 instruction
-; XFAIL: *
-; RUN: llvm-as < %s | llc -march=alpha | grep '-1'
+; RUN: llvm-as < %s | llc -march=alpha | grep '\-1'
 
 implementation   ; Functions:
 
index 156b110584a4769bf4e933a249279ebaade0beb4..7f6ed5c85e9c23c96f55eaf8aafdf27b441e900e 100644 (file)
@@ -1,12 +1,11 @@
 ; Make sure this testcase codegens to the S4ADDQ instruction
-; XFAIL: *
 ; RUN: llvm-as < %s | llc -march=alpha | grep 's4addq'
 
 implementation   ; Functions:
 
 long %bar(long %x, long %y) {
 entry:
-       %tmp.1 = shl long %x, ubyte 3           ; <long> [#uses=1]
+       %tmp.1 = shl long %x, ubyte 2           ; <long> [#uses=1]
        %tmp.3 = add long %tmp.1, %y            ; <long> [#uses=1]
        ret long %tmp.3
 }