[llvm-commits] [llvm] r78198 - /llvm/trunk/test/CodeGen/PIC16/sext.ll

Sanjiv Gupta sanjiv.gupta at microchip.com
Wed Aug 5 08:52:25 PDT 2009


Author: sgupta
Date: Wed Aug  5 10:52:14 2009
New Revision: 78198

URL: http://llvm.org/viewvc/llvm-project?rev=78198&view=rev
Log:
Quite a few tests crashed in llc after 78142. This is just one of them. I hope to add a few more.

Added:
    llvm/trunk/test/CodeGen/PIC16/sext.ll

Added: llvm/trunk/test/CodeGen/PIC16/sext.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PIC16/sext.ll?rev=78198&view=auto

==============================================================================
--- llvm/trunk/test/CodeGen/PIC16/sext.ll (added)
+++ llvm/trunk/test/CodeGen/PIC16/sext.ll Wed Aug  5 10:52:14 2009
@@ -0,0 +1,10 @@
+; RUN: llvm-as < %s | llc -march=pic16
+
+ at main.auto.c = internal global i8 0		; <i8*> [#uses=1]
+
+define i16 @main() nounwind {
+entry:
+	%tmp = load i8* @main.auto.c		; <i8> [#uses=1]
+	%conv = sext i8 %tmp to i16		; <i16> [#uses=1]
+	ret i16 %conv
+}





More information about the llvm-commits mailing list