e19d552987
Former-commit-id: 4db48158d3a35497b8f118ab21b5f08ac3d86d98
8 lines
262 B
LLVM
8 lines
262 B
LLVM
; RUN: llc -mtriple=arm-eabi %s -o /dev/null
|
|
|
|
; Check that codegen for an addrspace cast succeeds without error.
|
|
define <4 x i32 addrspace(1)*> @f (<4 x i32*> %x) {
|
|
%1 = addrspacecast <4 x i32*> %x to <4 x i32 addrspace(1)*>
|
|
ret <4 x i32 addrspace(1)*> %1
|
|
}
|