This is an archive of the discontinued LLVM Phabricator instance.

[mips] Provide additional DSP bitconvert patterns
ClosedPublic

Authored by smaksimovic on Dec 7 2017, 8:01 AM.

Details

Summary

Previously, v2i16 -> f32 bitcast could not be matched.
Add patterns to support matching this and similar types of bitcasts.

Diff Detail

Repository
rL LLVM

Event Timeline

smaksimovic created this revision.Dec 7 2017, 8:01 AM
sdardis accepted this revision.Dec 8 2017, 9:23 AM

Update the test case to match the assembly produced - see update_llc_test_checks.py - so that checking we're getting the correct output.

Otherwise LGTM.

This revision is now accepted and ready to land.Dec 8 2017, 9:23 AM

Update test file using utils/update_llc_test_checks.py

This revision was automatically updated to reflect the committed changes.