This is an archive of the discontinued LLVM Phabricator instance.

[X86] Add DAG combine to merge vzext_movl with the various fp<->int conversion operations that only write the lower 64-bits of an xmm register and zero the rest.
ClosedPublic

Authored by craig.topper on Jan 19 2019, 7:55 PM.

Details

Summary

We have isel patterns for this, but we're missing some load patterns and all broadcast patterns. A DAG combine seems like a better fit for this.

Diff Detail

Repository
rL LLVM

Event Timeline

craig.topper created this revision.Jan 19 2019, 7:55 PM
This revision is now accepted and ready to land.Jan 25 2019, 10:44 AM
This revision was automatically updated to reflect the committed changes.