Remove these testcases. These intrinsics are going away

llvm-svn: 26478
This commit is contained in:
Chris Lattner 2006-03-03 00:16:23 +00:00
parent 0c8b259e5a
commit f7d616278e
2 changed files with 0 additions and 42 deletions

View File

@ -1,21 +0,0 @@
; RUN: llvm-as < %s | llc -march=x86
implementation
declare int %llvm.readio (int *)
declare void %llvm.writeio (int, int *)
int %in(int * %p1) {
%p2 = alloca int
%i1 = call int %llvm.readio (int* %p1)
%i2 = call int %llvm.readio (int* %p2)
%r = add int %i1, %i2
ret int %r
}
void %out(int* %p) {
call void(int, int*)* %llvm.writeio (int 1, int * %p)
ret void
}

View File

@ -1,21 +0,0 @@
; RUN: llvm-as < %s | llc -march=x86
implementation
declare int %llvm.readport (ushort)
declare void %llvm.writeport (int, ushort)
int %in(ushort %p) {
%i1 = call int %llvm.readport (ushort 255)
%i2 = call int %llvm.readport (ushort %p)
%r = add int %i1, %i2
ret int %r
}
void %out(ushort %p) {
call void(int, ushort)* %llvm.writeport (int 1, ushort 255)
call void(int, ushort)* %llvm.writeport (int 4, ushort %p)
ret void
}