Support G_UDIV/G_UREM/G_SREM. The instruction selection
code is taken from FastISel with only minor tweaks to adapt
for GlobalISel.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D49781
[GlobalIsel][X86] Support G_UDIV/G_UREM/G_SREM ClosedPublic Authored by aivchenk on Jul 25 2018, 2:39 AM.
Details Summary Support G_UDIV/G_UREM/G_SREM. The instruction selection
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Oct 7 2018, 12:09 AM Closed by commit rL343966: [GlobalIsel][X86] Support G_UDIV/G_UREM/G_SREM (authored by aivchenk). · Explain WhyOct 8 2018, 6:42 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 168655 llvm/trunk/lib/Target/X86/X86InstructionSelector.cpp
llvm/trunk/lib/Target/X86/X86LegalizerInfo.cpp
llvm/trunk/test/CodeGen/X86/GlobalISel/x86-legalize-srem.mir
llvm/trunk/test/CodeGen/X86/GlobalISel/x86-legalize-udiv.mir
llvm/trunk/test/CodeGen/X86/GlobalISel/x86-legalize-urem.mir
llvm/trunk/test/CodeGen/X86/GlobalISel/x86-select-srem.mir
llvm/trunk/test/CodeGen/X86/GlobalISel/x86-select-udiv.mir
llvm/trunk/test/CodeGen/X86/GlobalISel/x86-select-urem.mir
llvm/trunk/test/CodeGen/X86/GlobalISel/x86_64-irtranslator.ll
llvm/trunk/test/CodeGen/X86/GlobalISel/x86_64-legalize-srem.mir
llvm/trunk/test/CodeGen/X86/GlobalISel/x86_64-legalize-udiv.mir
llvm/trunk/test/CodeGen/X86/GlobalISel/x86_64-legalize-urem.mir
llvm/trunk/test/CodeGen/X86/GlobalISel/x86_64-select-srem.mir
llvm/trunk/test/CodeGen/X86/GlobalISel/x86_64-select-udiv.mir
llvm/trunk/test/CodeGen/X86/GlobalISel/x86_64-select-urem.mir
|