summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/PIC16/C16-49.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/PIC16/C16-49.ll')
-rw-r--r--test/CodeGen/PIC16/C16-49.ll15
1 files changed, 0 insertions, 15 deletions
diff --git a/test/CodeGen/PIC16/C16-49.ll b/test/CodeGen/PIC16/C16-49.ll
deleted file mode 100644
index e59800b..0000000
--- a/test/CodeGen/PIC16/C16-49.ll
+++ /dev/null
@@ -1,15 +0,0 @@
-;RUN: llvm-as < %s | llc -march=pic16
-
-@aa = global i16 55, align 1 ; <i16*> [#uses=1]
-@bb = global i16 44, align 1 ; <i16*> [#uses=1]
-@PORTD = external global i8 ; <i8*> [#uses=1]
-
-define void @foo() nounwind {
-entry:
- %tmp = volatile load i16* @aa ; <i16> [#uses=1]
- %tmp1 = volatile load i16* @bb ; <i16> [#uses=1]
- %sub = sub i16 %tmp, %tmp1 ; <i16> [#uses=1]
- %conv = trunc i16 %sub to i8 ; <i8> [#uses=1]
- store i8 %conv, i8* @PORTD
- ret void
-}
OpenPOWER on IntegriCloud