This is an archive of the discontinued LLVM Phabricator instance.

[XCore] Don't create invalid MKMSK instructions inside loadImmediate().
ClosedPublic

Authored by • friedgold on Apr 4 2014, 8:17 AM.

Details

Summary

Previously loadImmediate() would produce MKMSK instructions with invalid
immediate values such as mkmsk r0, 9. Fix this by checking the mask size
is valid.

Diff Detail

Event Timeline

• friedgold closed this revision.Apr 16 2014, 9:52 AM

Committed in r206163