This is an archive of the discontinued LLVM Phabricator instance.

GlobalISel: Implement lower for G_EXTRACT_VECTOR_ELT
ClosedPublic

Authored by arsenm on Jul 27 2020, 6:46 AM.

Details

Summary

Use the basic store to stack and reload.

Diff Detail

Event Timeline

arsenm created this revision.Jul 27 2020, 6:46 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 27 2020, 6:46 AM
arsenm updated this revision to Diff 280906.Jul 27 2020, 7:19 AM

Fix test source error that should have been caught by the verifier

arsenm updated this revision to Diff 280907.Jul 27 2020, 7:19 AM
arsenm updated this revision to Diff 280918.Jul 27 2020, 7:38 AM

Fix MachinePointerInfo address space in variable case

paquette added inline comments.Jul 28 2020, 2:52 PM
llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
5193

Would be nice to have a simple example of what the lowering looks like in the comment here; the testcase is pretty long.

5199

maybe some debug output here?

arsenm updated this revision to Diff 281436.Jul 28 2020, 6:09 PM

Comments

This revision is now accepted and ready to land.Jul 29 2020, 9:00 AM