1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 12:43:36 +01:00
llvm-mirror/test
Luo, Yuanke 90681ff5c1 [X86][AMX] Fix tile config register spill issue.
Previous code build the model that tile config register is the user of
each AMX instruction. There is a problem for the tile config register
spill. When across function, the ldtilecfg instruction may be inserted
on each AMX instruction which use tile config register. This cause all
tile data register clobber.
To fix this issue, we remove the model of tile config register. We
analyze the regmask of call instruction and insert ldtilecfg if there is
any tile data register live across the call. Inserting the sttilecfg
before the call is unneccessary, because the tile config doesn't change
and we can just reload the config.
Besides we also need check tile config register interference. Since we
don't model the config register we should check interference from the
ldtilecfg to each tile data register def.
             ldtilecfg
             /       \
            BB1      BB2
            /         \
           call       BB3
           /           \
       %1=tileload   %2=tilezero
We can start from the instruction of each tile def, and backward to
ldtilecfg. If there is any call instruction, and tile data register is
not preserved, we should insert ldtilecfg after the call instruction.

Differential Revision: https://reviews.llvm.org/D94155
2021-01-21 16:01:50 +08:00
..
Analysis [SCEV] Add a test with wrong exit counts. (NFC) 2021-01-20 20:58:34 +08:00
Assembler [AArch64] Make target intrinsics DefaultAttrIntrinsics. 2021-01-18 17:32:15 +00:00
Bindings
Bitcode
BugPoint
CodeGen [X86][AMX] Fix tile config register spill issue. 2021-01-21 16:01:50 +08:00
DebugInfo [CSInfo][MIPS] Update CSInfo in delay slot filler 2021-01-18 15:29:59 +01:00
Demangle
Examples
ExecutionEngine [JITLink][ELF] New ELF skip-debug-sections test requires asserts. 2021-01-18 15:41:53 +11:00
Feature
FileCheck
Instrumentation
Integer
JitListener
Linker
LTO [LTO] Add test for freestanding LTO option. 2021-01-13 20:43:22 +00:00
MachineVerifier [Verifier] Add tied-ness verification to statepoint intsruction 2021-01-13 14:40:44 +07:00
MC [WebAssembly] Prototype new f64x2 conversions 2021-01-20 11:28:06 -08:00
Object [yaml2obj/obj2yaml] - Improve dumping/creating of ELF versioning sections. 2021-01-21 10:36:48 +03:00
ObjectYAML
Other [NFC] Disallow unused prefixes under Other 2021-01-19 12:22:29 -08:00
Reduce
SafepointIRVerifier
Support
SymbolRewriter
TableGen [RISCV] Add way to mark CompressPats that should only be used for compressing. 2021-01-20 09:20:15 -08:00
ThinLTO/X86
tools [yaml2obj/obj2yaml] - Improve dumping/creating of ELF versioning sections. 2021-01-21 10:36:48 +03:00
Transforms [BuildLibcalls, Attrs] Support more variants of C++'s new, add attributes for C++'s delete 2021-01-21 00:12:37 +01:00
Unit
Verifier [IR] Allow scalable vectors in structs to support intrinsics returning multiple values. 2021-01-17 23:29:51 -08:00
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg.py
lit.site.cfg.py.in
TestRunner.sh