This is an archive of the discontinued LLVM Phabricator instance.

[SelectionDAG] SimplifyDemandedVectorElts - add support for VECTOR_INSERT_ELT
ClosedPublic

Authored by RKSimon on Feb 17 2018, 7:40 AM.

Details

Summary

@craig.topper Do you know the purpose of @test14 in masked_gather_scatter.ll - is it really supposed to be splatting a different index to the insertion or has this patch unearthed a typo?

Diff Detail

Repository
rL LLVM

Event Timeline

RKSimon created this revision.Feb 17 2018, 7:40 AM
craig.topper added inline comments.Feb 17 2018, 8:51 AM
test/CodeGen/X86/masked_gather_scatter.ll
756 ↗(On Diff #134801)

Based on this comment, it appears to be intentional.

OK to commit then?

test/CodeGen/X86/masked_gather_scatter.ll
756 ↗(On Diff #134801)

Thanks - I just wasn't sure that perhaps it was supposed to be something like splat then insert., the base isn't used at all after this patch.

This revision is now accepted and ready to land.Feb 17 2018, 12:45 PM
This revision was automatically updated to reflect the committed changes.