This is an archive of the discontinued LLVM Phabricator instance.

[CodeGen] Don't crash classifying a union of an AVX vector and an int
ClosedPublic

Authored by majnemer on Jul 2 2015, 2:18 PM.

Details

Summary

We forgot to run postMerge after decided that the union had to be
classified as MEMORY. This left us with Lo == MEMORY and Hi == SSEUp
which is an invalid combination.

This fixes PR24021.

Diff Detail

Repository
rL LLVM

Event Timeline

majnemer updated this revision to Diff 28975.Jul 2 2015, 2:18 PM
majnemer retitled this revision from to [CodeGen] Don't crash classifying a union of an AVX vector and an int.
majnemer updated this object.
majnemer added reviewers: asl, bruno, rjmccall, rnk.
majnemer added a subscriber: cfe-commits.

This change fixes the assertion failure in my full test case of several hundred combinations.

This revision was automatically updated to reflect the committed changes.