r351882 allows different type for shift amount then result and value
being shifted. Fix MIPS Legalizer rules to take r351882 into account.
Details
Details
Diff Detail
Diff Detail
| Paths 
 |  Differential  D66203  
[MIPS GlobalISel] Consider type1 when legalizing shifts after r351882 ClosedPublic Authored by Petar.Avramovic on Aug 14 2019, 1:52 AM. 
Details Summary r351882 allows different type for shift amount then result and value 
Diff Detail Event TimelinePetar.Avramovic added a parent revision: D66202: [MIPS GlobalISel] NarrowScalar G_TRUNC .Aug 14 2019, 1:52 AM Petar.Avramovic added a child revision: D66204: [MIPS GlobalISel] NarrowScalar G_ZEXT and G_SEXT.Aug 14 2019, 1:55 AM This revision is now accepted and ready to land.Aug 14 2019, 9:00 AM Closed by commit rL369510: [MIPS GlobalISel] Consider type1 when legalizing shifts after r351882 (authored by Petar.Avramovic).  ·  Explain WhyAug 21 2019, 2:32 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
 
Diff 215053 lib/Target/Mips/MipsLegalizerInfo.cpp
 test/CodeGen/Mips/GlobalISel/legalizer/bitwise.mir
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||