This is an archive of the discontinued LLVM Phabricator instance.

[X86] Canonicalize various patterns to vector extloads.
Changes PlannedPublic

Authored by ab on Jan 9 2015, 10:03 AM.

Details

Reviewers
None
Summary

Now that we can specify legality of extloads, there's no need to have 5 different ways of expressing it.

Followup of D6125, D6533.

Diff Detail

Event Timeline

ab updated this revision to Diff 17931.Jan 9 2015, 10:03 AM
ab retitled this revision from to [X86] Canonicalize various patterns to vector extloads..
ab updated this object.
ab edited the test plan for this revision. (Show Details)
ab added subscribers: Unknown Object (MLST), delena.

Please see my notes.
Context is missing in review.

lib/Target/X86/X86ISelLowering.cpp
25650

You have 2 functions VSEXT / VZEXT and VZEXT. May be you planned to remove VZEXT?

25685

I think that MemVT should be taken from original load and not from ZEXT operand

25692

The comment is very strange here

ab planned changes to this revision.Jan 12 2015, 12:40 PM