1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc -march=amdgcn -mcpu=gfx900 -verify-machineinstrs < %s | FileCheck %s
3 ; RUN: llc -global-isel -march=amdgcn -mcpu=gfx900 -verify-machineinstrs < %s | FileCheck %s
5 define i32 @basic(i32 %a, i32 %b) {
8 ; CHECK-NEXT: s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
9 ; CHECK-NEXT: v_mul_hi_i32_i24_e32 v0, v0, v1
10 ; CHECK-NEXT: s_setpc_b64 s[30:31]
11 %mul = call i32 @llvm.amdgcn.mulhi.i24(i32 %a, i32 %b)
15 declare i32 @llvm.amdgcn.mulhi.i24(i32, i32)