mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
449e2cbd5e
The original change was pushed in main as commit f7a23ecece52. It was then reverted by commit a04f01bab2 because it caused linker failures on buildbots that don't build the AMDGPU target. -- Some instructions are not defined well enough within the target’s scheduling model for llvm-mca to be able to properly simulate its behaviour. The ideal solution to this situation is to modify the scheduling model, but that’s not always a viable strategy. Maybe other parts of the backend depend on that instruction being modelled the way that it is. Or maybe the instruction is quite complex and it’s difficult to fully capture its behaviour with tablegen. The CustomBehaviour class (which I will refer to as CB frequently) is designed to provide intuitive scaffolding for developers to implement the correct modelling for these instructions. More details are available in the original commit log message (f7a23ecece52). Differential Revision: https://reviews.llvm.org/D104149
32 lines
688 B
CMake
32 lines
688 B
CMake
add_llvm_component_library(LLVMMCA
|
|
CodeEmitter.cpp
|
|
Context.cpp
|
|
CustomBehaviour.cpp
|
|
HWEventListener.cpp
|
|
HardwareUnits/HardwareUnit.cpp
|
|
HardwareUnits/LSUnit.cpp
|
|
HardwareUnits/RegisterFile.cpp
|
|
HardwareUnits/ResourceManager.cpp
|
|
HardwareUnits/RetireControlUnit.cpp
|
|
HardwareUnits/Scheduler.cpp
|
|
InstrBuilder.cpp
|
|
Instruction.cpp
|
|
Pipeline.cpp
|
|
Stages/DispatchStage.cpp
|
|
Stages/EntryStage.cpp
|
|
Stages/ExecuteStage.cpp
|
|
Stages/InOrderIssueStage.cpp
|
|
Stages/InstructionTables.cpp
|
|
Stages/MicroOpQueueStage.cpp
|
|
Stages/RetireStage.cpp
|
|
Stages/Stage.cpp
|
|
Support.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
${LLVM_MAIN_INCLUDE_DIR}/llvm/MCA
|
|
|
|
LINK_COMPONENTS
|
|
MC
|
|
Support
|
|
)
|