blob: 2e98ba53c67a79d771e4cae951e672d6b61412f9 [file] [log] [blame]
James Molloy8a259922013-12-03 11:23:11 +00001; RUN: llc < %s -march=arm
2
3; Check that codegen for an addrspace cast succeeds without error.
4define <4 x i32 addrspace(1)*> @f (<4 x i32*> %x) {
5 %1 = addrspacecast <4 x i32*> %x to <4 x i32 addrspace(1)*>
6 ret <4 x i32 addrspace(1)*> %1
7}