This is an archive of the discontinued LLVM Phabricator instance.

DAGCombiner: Don't narrow volatile vector loads + extract
ClosedPublic

Authored by arsenm on Jun 23 2016, 10:01 AM.

Details

Diff Detail

Event Timeline

arsenm updated this revision to Diff 61693.Jun 23 2016, 10:01 AM
arsenm retitled this revision from to DAGCombiner: Don't narrow volatile vector loads + extract.
arsenm updated this object.
arsenm added a reviewer: bogner.
arsenm added a subscriber: llvm-commits.
ab added a subscriber: ab.Jun 23 2016, 10:38 AM
ab added inline comments.
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
12461–12467

The other callsite checks isVolatile() already. Do the same here and assert in ReplaceExtractVectorEltOfLoadWithNarrowedLoad?

Or remove the other check; but we might as well make them consistent.

arsenm updated this revision to Diff 61761.Jun 24 2016, 12:35 AM
arsenm edited edge metadata.

Move volatile check

ab accepted this revision.Jun 24 2016, 6:05 AM
ab added a reviewer: ab.

That works, thanks. LGTM

This revision is now accepted and ready to land.Jun 24 2016, 6:05 AM
arsenm closed this revision.Jun 27 2016, 12:39 PM

r273909