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
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 157205 lib/Target/X86/X86InstructionSelector.cpp
lib/Target/X86/X86LegalizerInfo.cpp
test/CodeGen/X86/GlobalISel/x86-legalize-srem.mir
test/CodeGen/X86/GlobalISel/x86-legalize-udiv.mir
test/CodeGen/X86/GlobalISel/x86-legalize-urem.mir
test/CodeGen/X86/GlobalISel/x86-select-srem.mir
test/CodeGen/X86/GlobalISel/x86-select-udiv.mir
test/CodeGen/X86/GlobalISel/x86-select-urem.mir
test/CodeGen/X86/GlobalISel/x86_64-irtranslator.ll
test/CodeGen/X86/GlobalISel/x86_64-legalize-srem.mir
test/CodeGen/X86/GlobalISel/x86_64-legalize-udiv.mir
test/CodeGen/X86/GlobalISel/x86_64-legalize-urem.mir
test/CodeGen/X86/GlobalISel/x86_64-select-srem.mir
test/CodeGen/X86/GlobalISel/x86_64-select-udiv.mir
test/CodeGen/X86/GlobalISel/x86_64-select-urem.mir
|