HomePhabricator

[X86][AMX] Fix a bug on tile config.

Authored by LuoYuanke on May 26 2021, 2:41 AM.

Description

[X86][AMX] Fix a bug on tile config.

The previous code detect if a MBB is bottom block to determine if it is
a backedge of a loop. We should check latch block instead of bottom
block and we should check the header and the bottom block are in the
same loop.

Differential Revision: https://reviews.llvm.org/D103145

Details

Committed
LuoYuankeMay 26 2021, 6:57 AM
Differential Revision
D103145: [X86][AMX] Fix a bug on tile config.
Parents
rGb6f6501b2412: [CostModel][AArch64] Add tests for bitreverse. NFC.
Branches
Unknown
Tags
Unknown