1; RUN: llc -march=amdgcn -mcpu=fiji -O0 -stop-after=irtranslator -global-isel %s -o - 2>&1 | FileCheck %s 2 3; This file checks that the translation from llvm IR to generic 4; MachineInstr is correct. 5 6; Tests for add. 7; CHECK: name: addi32 8; CHECK: {{%[0-9]+}}:_(s32) = G_ADD 9define amdgpu_kernel void @addi32(i32 %arg1, i32 %arg2) { 10 %res = add i32 %arg1, %arg2 11 store i32 %res, i32 addrspace(1)* undef 12 ret void 13} 14