mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
b99f6e14af
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191576 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
270 B
LLVM
14 lines
270 B
LLVM
; RUN: opt -debug-ir -S %s -o - | FileCheck %s
|
|
|
|
target datalayout = "e-p:64:64:64-p1:16:16:16"
|
|
|
|
define void @foo(i32 addrspace(1)*) nounwind {
|
|
ret void
|
|
}
|
|
|
|
; Make sure the pointer size is 16
|
|
|
|
; CHECK: metadata !"i32 addrspace(1)*", i32 0, i64 16, i64 2, i64 0, i32 0
|
|
|
|
|