Add narrowScalar for G_AND and G_XOR.
Legalize G_AND G_OR and G_XOR for types other then s32 with clampScalar on MIPS32.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D55362
[MIPS GlobalISel] ClampScalar G_AND G_OR and G_XOR ClosedPublic Authored by Petar.Avramovic on Dec 6 2018, 3:08 AM.
Details Summary Add narrowScalar for G_AND and G_XOR.
Diff Detail Event TimelineHerald added subscribers: arichardson, kristof.beyls, rovka, sdardis. · View Herald TranscriptDec 6 2018, 3:08 AM This revision is now accepted and ready to land.Dec 17 2018, 1:40 PM Closed by commit rL349475: [MIPS GlobalISel] ClampScalar G_AND G_OR and G_XOR (authored by Petar.Avramovic). · Explain WhyDec 18 2018, 3:39 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 176945 lib/CodeGen/GlobalISel/LegalizerHelper.cpp
lib/Target/Mips/MipsLegalizerInfo.cpp
test/CodeGen/Mips/GlobalISel/instruction-select/bitwise.mir
test/CodeGen/Mips/GlobalISel/irtranslator/bitwise.ll
test/CodeGen/Mips/GlobalISel/legalizer/bitwise.mir
test/CodeGen/Mips/GlobalISel/llvm-ir/bitwise.ll
test/CodeGen/Mips/GlobalISel/regbankselect/bitwise.mir
|