The patch is to fix https://llvm.org/bugs/show_bug.cgi?id=30298, which is caused by https://reviews.llvm.org/D20931
pmullw/pmulhw/punpcklwd/punpckhwd are not supported in SSE, so I add a bail out if the target has no SSE2.
Differential D24288
Don't reduce mul if the target doesn't support SSE2 wmi on Sep 6 2016, 6:26 PM. Authored by
Details
The patch is to fix https://llvm.org/bugs/show_bug.cgi?id=30298, which is caused by https://reviews.llvm.org/D20931 pmullw/pmulhw/punpcklwd/punpckhwd are not supported in SSE, so I add a bail out if the target has no SSE2.
Diff Detail
Event TimelineComment Actions LGTM, except another small change to the test.
Comment Actions FWIW, for me it fixes both the original test case (from libx264), and the reduced test case from PR 30298. Thanks. :) |
I don't see why this test would require asserts. A copy/paste bug?