[PATCH] D99010: [X86] Fix a bug when calculating the ldtilecfg insertion points.

Pengfei Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 19 23:24:23 PDT 2021


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

The BB we initialized the ldtilecfg is special. We don't need to check
if its predecessor BBs need to insert ldtilecfg for calls.

This case happens only when the entry BB is in a loop. We need to hoist
the first tile config point out of the loop in future.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D99010

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99010.332082.patch
Type: text/x-patch
Size: 3953 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210320/4d8890d3/attachment.bin>


More information about the llvm-commits mailing list