1 ; RUN: not --crash llc -global-isel -mtriple=amdgcn-amd-amdpal -mcpu=gfx900 -o - -stop-after=irtranslator < %s
4 ; Confirm that no one's gotten vectors of addrspace(7) pointers to go through the
5 ; IR translater incidentally.
7 define <2 x ptr addrspace(7)> @no_auto_constfold_gep_vector() {
8 %gep = getelementptr i8, <2 x ptr addrspace(7)> zeroinitializer, <2 x i32> <i32 123, i32 123>
9 ret <2 x ptr addrspace(7)> %gep
12 define <2 x ptr addrspace(7)> @gep_vector_splat(<2 x ptr addrspace(7)> %ptrs, i64 %idx) {
13 %gep = getelementptr i8, <2 x ptr addrspace(7)> %ptrs, i64 %idx
14 ret <2 x ptr addrspace(7)> %gep