We should avoid mixing old AMX instrinsic with new AMX intrinsic. For
old AMX intrinsic, user is responsible for invoking tile release. This
patch is to check if there is any tile config generated by compiler. If
so it emit tilerelease instruction, otherwise it don't emit the
instruction.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM.
llvm/lib/Target/X86/X86MachineFunctionInfo.h | ||
---|---|---|
215 | This can be void, i.e., |
llvm/lib/Target/X86/X86MachineFunctionInfo.h | ||
---|---|---|
215 | True for current patch. Not sure we may set it to false someday. |
llvm/lib/Target/X86/X86FastTileConfig.cpp | ||
---|---|---|
293–294 | Another way to escape add a variable in X86MachineFunctionInfo is if (Changed) add tilerelease at MF.end() |
llvm/lib/Target/X86/X86FastTileConfig.cpp | ||
---|---|---|
293–294 | There may be multi exit, so insert tilerelease to end block is not enough. |
llvm/lib/Target/X86/X86FastTileConfig.cpp | ||
---|---|---|
293–294 | Make sense, here not merge the multi exits to one exit yet. |
Another way to escape add a variable in X86MachineFunctionInfo is