[PATCH] D78003: [AMDGPU] Fix llvm.amdgcn.div.scale lowering
Austin Kerbow via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 13 08:02:17 PDT 2020
kerbowa marked an inline comment as done.
kerbowa added inline comments.
================
Comment at: llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.div.scale.ll:21
; GFX7-NEXT: s_waitcnt vmcnt(0)
-; GFX7-NEXT: v_div_scale_f32 v0, s[2:3], v0, v0, v2
+; GFX7-NEXT: v_div_scale_f32 v0, s[2:3], v2, v0, v2
; GFX7-NEXT: s_mov_b64 s[2:3], s[6:7]
----------------
arsenm wrote:
> I checked these were the same order as the final DAG output, so are these inconsistent now?
DAG lowering was wrong. I thought we never used the intrinsic directly so it didn't matter.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D78003/new/
https://reviews.llvm.org/D78003
More information about the llvm-commits
mailing list