[PATCH] D103145: [X86][AMX] Fix a bug on tile config.

LuoYuanke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 26 02:46:49 PDT 2021


LuoYuanke created this revision.
Herald added subscribers: pengfei, hiraditya.
LuoYuanke requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D103145

Files:
  llvm/lib/Target/X86/X86PreTileConfig.cpp
  llvm/test/CodeGen/X86/AMX/amx-gemm.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103145.347869.patch
Type: text/x-patch
Size: 13696 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210526/c134c68d/attachment.bin>


More information about the llvm-commits mailing list