mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
add a testcase for the pic16 section handling stuff.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76579 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
dc47146a25
commit
99bd8bf8a2
15
test/CodeGen/PIC16/globals.ll
Normal file
15
test/CodeGen/PIC16/globals.ll
Normal file
@ -0,0 +1,15 @@
|
||||
; RUN: llvm-as < %s | llc -march=pic16 | FileCheck %s
|
||||
|
||||
@G1 = global i32 4712, section "Address=412"
|
||||
; CHECK: @G1.412.idata.0.# IDATA 412
|
||||
; CHECK: @G1 dl 4712
|
||||
|
||||
@G2 = global i32 0, section "Address=412"
|
||||
; CHECK: @G2.412.udata.0.# UDATA 412
|
||||
; CHECK: @G2 RES 4
|
||||
|
||||
@G3 = addrspace(1) constant i32 4712, section "Address=412"
|
||||
; CHECK: @G3.412.romdata.1.# ROMDATA 412
|
||||
; CHECK: @G3 rom_dl 4712
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user