1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --tool cat --default-march amdgcn --version 4
2; RUN: cat %S/amdgpu_function_alt.s | FileCheck --check-prefixes=CHECK %s
3
4define float @sample(float %x) {
5; CHECK-LABEL: sample:
6; CHECK:         s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
7; CHECK-NEXT:    v_mul_f32_e32 v0, v0, v0
8; CHECK-NEXT:    s_setpc_b64 s[30:31]
9  %y = fmul float %x, %x
10  ret float %y
11}
12