aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/ioport.llx
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/ioport.llx')
-rw-r--r--test/CodeGen/X86/ioport.llx21
1 files changed, 0 insertions, 21 deletions
diff --git a/test/CodeGen/X86/ioport.llx b/test/CodeGen/X86/ioport.llx
deleted file mode 100644
index 8f09aa2..0000000
--- a/test/CodeGen/X86/ioport.llx
+++ /dev/null
@@ -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
-}
-