[M68k][GloballSel] LegalizerInfo implementation
authorSushma Unnibhavi <sushmaunnibhavi425@gmail.com>
Thu, 15 Jul 2021 19:00:14 +0000 (13:00 -0600)
committerAnshil Gandhi <Anshil.Gandhi@amd.com>
Thu, 15 Jul 2021 19:00:43 +0000 (13:00 -0600)
commitaaccc985a88db4fb7ae4be341db62bb1fe974102
tree7d31141841e71de24c2ccd463144d5e574409dbe
parentc3c324dddf73bfc85034267901fce22002a4bb78
[M68k][GloballSel] LegalizerInfo implementation

Added rules for G_ADD, G_SUB, G_MUL, G_UDIV to be legal.

Differential Revision: https://reviews.llvm.org/D105536
llvm/lib/Target/M68k/GlSel/M68kLegalizerInfo.cpp
llvm/test/CodeGen/M68k/GlobalISel/arithmetic.ll [new file with mode: 0644]