1 2; RUN: llc < %s -march=r600 -mcpu=SI -verify-machineinstrs | FileCheck %s 3 4; CHECK: V_ASHR 5define void @test(i64 addrspace(1)* %out, i32 %a, i32 %b, i32 %c) { 6entry: 7 %0 = mul i32 %a, %b 8 %1 = add i32 %0, %c 9 %2 = sext i32 %1 to i64 10 store i64 %2, i64 addrspace(1)* %out 11 ret void 12} 13