This is an archive of the discontinued LLVM Phabricator instance.

[Matrix] Remove bitcast when casting between matrices of the same size
ClosedPublic

Authored by SaurabhJha on May 3 2021, 5:04 AM.

Details

Summary

In matrix type casts, we were doing bitcast when the matrices had the same size. This was incorrect and this patch fixes that.
Also added some new CodeGen tests for signed <-> usigned conversions

Diff Detail

Event Timeline

SaurabhJha created this revision.May 3 2021, 5:04 AM
SaurabhJha requested review of this revision.May 3 2021, 5:04 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 3 2021, 5:04 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
fhahn accepted this revision.May 3 2021, 5:49 AM

LGTM, thanks!

I can commit this change on your behalf in a bit

This revision is now accepted and ready to land.May 3 2021, 5:49 AM

LGTM, thanks!

I can commit this change on your behalf in a bit

Cheers Florian!