[PATCH] D76180: AMDGPU/GlobalISel: Legalize 64-bit G_UDIV/G_UREM
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Mar 14 11:15:59 PDT 2020
arsenm created this revision.
arsenm added reviewers: nhaehnle, foad, kerbowa.
Herald added subscribers: hiraditya, t-tye, tpr, dstuttard, rovka, yaxunl, wdng, jvesely, kzhuravl.
Mostly ported from the DAG version. This results in much worse code
than the DAG version, largely due to a much worse expansion for
G_UMULH.
https://reviews.llvm.org/D76180
Files:
llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h
llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-udiv.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-urem.mir
llvm/test/CodeGen/AMDGPU/GlobalISel/udiv.i64.ll
llvm/test/CodeGen/AMDGPU/GlobalISel/urem.i64.ll
More information about the llvm-commits
mailing list