Add test to proper place. Also, XFAIL until ppc bootstrap will be ok.
authorAnton Korobeynikov <asl@math.spbu.ru>
Thu, 26 Apr 2007 20:49:05 +0000 (20:49 +0000)
committerAnton Korobeynikov <asl@math.spbu.ru>
Thu, 26 Apr 2007 20:49:05 +0000 (20:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36491 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/Generic/2007-04-27-BitTestsBadMask.ll [new file with mode: 0644]
test/CodeGen/X86/2007-04-27-BitTestsBadMask.ll [deleted file]

diff --git a/test/CodeGen/Generic/2007-04-27-BitTestsBadMask.ll b/test/CodeGen/Generic/2007-04-27-BitTestsBadMask.ll
new file mode 100644 (file)
index 0000000..a3d2000
--- /dev/null
@@ -0,0 +1,21 @@
+; RUN: llvm-as < %s | llc -march=x86 | grep -c je | grep 3
+; RUN: llvm-as < %s | llc -march=x86-64 | grep 4297064449
+; PR 1325+
+
+; FIXME: this is xfailed until we figure out ppc bootstrap
+; XFAIL: *
+
+define i32 @foo(i8 %bar) {
+entry:
+       switch i8 %bar, label %bb1203 [
+                i8 117, label %bb1204
+                i8 85, label %bb1204
+                i8 106, label %bb1204
+       ]
+
+bb1203:                ; preds = %entry
+       ret i32 1
+
+bb1204:                ; preds = %entry, %entry, %entry
+       ret i32 2
+}
diff --git a/test/CodeGen/X86/2007-04-27-BitTestsBadMask.ll b/test/CodeGen/X86/2007-04-27-BitTestsBadMask.ll
deleted file mode 100644 (file)
index f891599..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-; RUN: llvm-as < %s | llc -march=x86 | grep -c je | grep 3
-; RUN: llvm-as < %s | llc -march=x86-64 | grep 4297064449
-; PR 1325+
-
-define i32 @foo(i8 %bar) {
-entry:
-       switch i8 %bar, label %bb1203 [
-                i8 117, label %bb1204
-                i8 85, label %bb1204
-                i8 106, label %bb1204
-       ]
-
-bb1203:                ; preds = %entry
-       ret i32 1
-
-bb1204:                ; preds = %entry, %entry, %entry
-       ret i32 2
-}