This is an archive of the discontinued LLVM Phabricator instance.

[X86][AMX][NFC] Avoid assert for the same immidiate value
ClosedPublic

Authored by pengfei on Apr 22 2021, 7:09 PM.

Details

Summary

The previous condition in the assert was over strict. We ought to allow
the same immidiate value being loaded more than once. The intention for
the assert is to check the same AMX register uses multiple different
immidiate shapes. So this fix supposes to be NFC.

Diff Detail

Event Timeline

pengfei created this revision.Apr 22 2021, 7:09 PM
pengfei requested review of this revision.Apr 22 2021, 7:09 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 22 2021, 7:09 PM
This revision is now accepted and ready to land.Apr 22 2021, 8:20 PM