[all-commits] [llvm/llvm-project] 232751: [X86] Fix a bug when calculating the ldtilecfg ins...
Pengfei Wang via All-commits
all-commits at lists.llvm.org
Sat Mar 20 02:49:20 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2327513b853f030ff399413a651974ab23de4e1b
https://github.com/llvm/llvm-project/commit/2327513b853f030ff399413a651974ab23de4e1b
Author: Wang, Pengfei <pengfei.wang at intel.com>
Date: 2021-03-20 (Sat, 20 Mar 2021)
Changed paths:
M llvm/lib/Target/X86/X86PreTileConfig.cpp
M llvm/test/CodeGen/X86/AMX/amx-across-func.ll
Log Message:
-----------
[X86] Fix a bug when calculating the ldtilecfg insertion points.
The BB we initialized the ldtilecfg is special. We don't need to check
if its predecessor BBs need to insert ldtilecfg for calls.
We reused the flag HasCallBeforeAMX, so that the predecessors won't be
added to CfgNeedInsert.
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.
Reviewed By: LuoYuanke
Differential Revision: https://reviews.llvm.org/D98845
More information about the All-commits
mailing list