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