This is an archive of the discontinued LLVM Phabricator instance.

[WebAssembly] Retain shuffle types during custom lowering
ClosedPublic

Authored by tlively on Oct 22 2018, 4:25 PM.

Details

Summary

Changing the node type in lowering was violating assumptions made in
the DAG combiner, so don't change the node type any more. This fixes
one of the issues reported in bug 39275.

Diff Detail

Repository
rL LLVM

Event Timeline

tlively created this revision.Oct 22 2018, 4:25 PM
aheejin accepted this revision.Oct 24 2018, 3:18 PM

I think adding which DAGCombiner assertion the previous code broke on the CL description / commit message would help readers. Otherwise LGTM

This revision is now accepted and ready to land.Oct 24 2018, 3:18 PM
This revision was automatically updated to reflect the committed changes.