blob: 6bea9b269f57b2b19a847e9d204ead4165f60f34 [file] [log] [blame]
Matt Arsenault31cfc782013-09-27 22:26:25 +00001; RUN: opt -debug-ir -S %s -o - | FileCheck %s
2
3target datalayout = "e-p:64:64:64-p1:16:16:16"
4
5define void @foo(i32 addrspace(1)*) nounwind {
6 ret void
7}
8
9; Make sure the pointer size is 16
10
Duncan P. N. Exon Smith786cd042014-10-02 22:15:31 +000011; CHECK: metadata !"i32 addrspace(1)*", i32 0, i64 16, i64 2, i64 0, i32 0
12
13