This is an archive of the discontinued LLVM Phabricator instance.

DAG: Legalize truncstores to illegal int types
ClosedPublic

Authored by arsenm on Nov 16 2017, 10:08 PM.

Details

Reviewers
bogner
Summary

Truncate to a legal int type, and produce a new
truncstore from a narrower type.

Diff Detail

Event Timeline

arsenm created this revision.Nov 16 2017, 10:08 PM
bogner accepted this revision.Nov 27 2017, 5:39 PM

Looks good once the bug/redundancy is fixed.

lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
634

We ReplaceNode twice in this path now?

This revision is now accepted and ready to land.Nov 27 2017, 5:39 PM
arsenm closed this revision.Nov 28 2017, 9:12 AM

r319185