[llvm-commits] [llvm] r77195 - /llvm/trunk/test/CodeGen/PIC16/global-in-user-section.ll

Sanjiv Gupta sanjiv.gupta at microchip.com
Mon Jul 27 09:20:54 PDT 2009


Author: sgupta
Date: Mon Jul 27 11:20:41 2009
New Revision: 77195

URL: http://llvm.org/viewvc/llvm-project?rev=77195&view=rev
Log:
Test case to check that separate section is created for a global variable specified with section attribute. 

Added:
    llvm/trunk/test/CodeGen/PIC16/global-in-user-section.ll

Added: llvm/trunk/test/CodeGen/PIC16/global-in-user-section.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PIC16/global-in-user-section.ll?rev=77195&view=auto

==============================================================================
--- llvm/trunk/test/CodeGen/PIC16/global-in-user-section.ll (added)
+++ llvm/trunk/test/CodeGen/PIC16/global-in-user-section.ll Mon Jul 27 11:20:41 2009
@@ -0,0 +1,5 @@
+; RUN: llvm-as < %s | llc -march=pic16 | FileCheck %s
+
+ at G1 = common global i16 0, section "usersection", align 1 
+; CHECK: usersection UDATA
+; CHECK: @G1 RES 2 





More information about the llvm-commits mailing list