[PATCH] D94146: AMDGPU/GlobalISel: Add baseline IR tests for fdiv

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 6 02:48:27 PST 2021


foad accepted this revision.
foad added a comment.
This revision is now accepted and ready to land.

Seems obvious.



================
Comment at: llvm/test/CodeGen/AMDGPU/GlobalISel/fdiv.f16.ll:54-74
+; GFX8-LABEL: v_fdiv_f16:
+; GFX8:       ; %bb.0:
+; GFX8-NEXT:    s_waitcnt vmcnt(0) expcnt(0) lgkmcnt(0)
+; GFX8-NEXT:    v_cvt_f32_f16_e32 v2, v1
+; GFX8-NEXT:    v_cvt_f32_f16_e32 v3, v0
+; GFX8-NEXT:    v_rcp_f32_e32 v2, v2
+; GFX8-NEXT:    v_mul_f32_e32 v2, v3, v2
----------------
Would update_llc_test_checks common these up if you added a GFX89 prefix? Same for loads of other tests.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D94146/new/

https://reviews.llvm.org/D94146



More information about the llvm-commits mailing list