This is an archive of the discontinued LLVM Phabricator instance.

Define selection for v4f16, v8f16 scalar_to_vector
ClosedPublic

Authored by pirama on Dec 7 2015, 8:00 PM.

Details

Summary

This fixes failure when trying to select

insertelement <4 x half> undef, half %a, i64 0

which gets transformed to a scalar_to_vector node.

The accompanying v4 and v8 tests fail instruction selection without this
patch.

Diff Detail

Event Timeline

pirama updated this revision to Diff 42135.Dec 7 2015, 8:00 PM
pirama retitled this revision from to Define selection for v4f16, v8f16 scalar_to_vector.
pirama updated this object.
pirama added reviewers: ab, jmolloy.
pirama added subscribers: llvm-commits, srhines.
jmolloy accepted this revision.Dec 8 2015, 1:50 AM
jmolloy edited edge metadata.

This LGTM.

This revision is now accepted and ready to land.Dec 8 2015, 1:50 AM
This revision was automatically updated to reflect the committed changes.