blob: 6539c8a51db38007378717c88ddd81065ab7ed42 [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 Smith176b6912014-10-03 20:01:09 +000011; CHECK: metadata !"0xf\00i32 addrspace(1)*\000\0016\002\000\000"