Here is a series of patches replacing EVT with MVT at a number of places in TargetLowering. The last two patches are related cleanups in SelectionDAGBuilder.
/Patrik Hägglund
git log --stat --reverse origin/master…
commit 8dabe3eb005360347eabb86a2e88c3b6e9098ed5
Author: Patrik Hägglund patrik.h.hagglund@ericsson.com
0001-Change-TargetLowering-getRegClassFor-to-take-an-MVT-.patch (28.4 KB)
0002-Change-TargetLowering-getRepRegClassFor-to-take-an-M.patch (6.82 KB)
0003-Change-TargetLowering-setTypeAction-to-take-an-MVT-i.patch (1.57 KB)
0004-Change-TargetLowering-getLoadExtAction-to-take-and-M.patch (3.02 KB)
0005-Change-TargetLowering-getTruncStoreAction-to-take-MV.patch (3.69 KB)
0006-Change-TargetLowering-getCondCodeAction-to-take-an-M.patch (4.54 KB)
0007-Change-TargetLowering-isCondCodeLegal-to-take-an-MVT.patch (5.62 KB)
0008-Change-TargetLowering-getTypeToPromoteTo-to-take-and.patch (4.88 KB)
0008-Change-TargetLowering-getTypeToPromoteTo-to-take-and.patch (4.88 KB)
0009-Change-TargetLowering-findRepresentativeClass-to-tak.patch (4.74 KB)
0010-Change-TargetLowering-getRepRegClassCostFor-getIndex.patch (4.15 KB)
0011-Change-TargetLowering-TransformToType-to-contain-MVT.patch (4.35 KB)
0012-Change-TargetLowering-RegisterTypeForVT-to-store-MVT.patch (12.5 KB)
0013-Change-a-parameter-of-TargetLowering-getVectorTypeBr.patch (7.25 KB)
0014-Change-TargetLowering-getTypeForExtArgOrReturn-to-ta.patch (4.63 KB)
0015-Change-RegVT-in-BitTestBlock-and-RegsForValue-in-Sel.patch (5.91 KB)
0016-In-SelectionDAGBuilder-split-the-usage-of-EVT-PartVT.patch (12.3 KB)