[PATCH] D74435: AMDGPU: Add baseline tests for CGP div expansion
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 3 08:21:10 PDT 2023
arsenm added inline comments.
================
Comment at: llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-idiv.ll:5627
+; GCN-NEXT: v_mov_b32_e32 v1, 0x4f800000
+; GCN-NEXT: v_madmk_f32 v0, v1, 0x438f8000, v0
+; GCN-NEXT: v_rcp_f32_e32 v0, v0
----------------
kosarev wrote:
> Can we compute this at compile time?
Yes, should be foldable
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D74435/new/
https://reviews.llvm.org/D74435
More information about the llvm-commits
mailing list