1 ;RUN: llc < %s -march=r600 -mcpu=redwood | FileCheck %s
3 ; mul24 and mad24 are affected
4 ;CHECK: MULLO_INT * T{{[0-9]+\.[XYZW], T[0-9]+\.[XYZW], T[0-9]+\.[XYZW]}}
5 ;CHECK: MULLO_INT * T{{[0-9]+\.[XYZW], T[0-9]+\.[XYZW], T[0-9]+\.[XYZW]}}
6 ;CHECK: MULLO_INT * T{{[0-9]+\.[XYZW], T[0-9]+\.[XYZW], T[0-9]+\.[XYZW]}}
7 ;CHECK: MULLO_INT * T{{[0-9]+\.[XYZW], T[0-9]+\.[XYZW], T[0-9]+\.[XYZW]}}
9 define void @test(<4 x i32> addrspace(1)* %out, <4 x i32> addrspace(1)* %in) {
10 %b_ptr = getelementptr <4 x i32> addrspace(1)* %in, i32 1
11 %a = load <4 x i32> addrspace(1) * %in
12 %b = load <4 x i32> addrspace(1) * %b_ptr
13 %result = mul <4 x i32> %a, %b
14 store <4 x i32> %result, <4 x i32> addrspace(1)* %out