mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-11 21:57:55 +00:00
69e68a5966
Due to an erratum in some versions of LEON, we must insert a NOP after any LD or LDF instruction to ensure the processor has time to load the value correctly before using it. This pass will implement that erratum fix. The code will have no effect for other Sparc, but non-LEON processors. Differential Review: http://reviews.llvm.org/D20353 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@270417 91177308-0d34-0410-b5e6-96231b3b80d8
35 lines
1.1 KiB
CMake
35 lines
1.1 KiB
CMake
set(LLVM_TARGET_DEFINITIONS Sparc.td)
|
|
|
|
tablegen(LLVM SparcGenRegisterInfo.inc -gen-register-info)
|
|
tablegen(LLVM SparcGenInstrInfo.inc -gen-instr-info)
|
|
tablegen(LLVM SparcGenDisassemblerTables.inc -gen-disassembler)
|
|
tablegen(LLVM SparcGenMCCodeEmitter.inc -gen-emitter)
|
|
tablegen(LLVM SparcGenAsmWriter.inc -gen-asm-writer)
|
|
tablegen(LLVM SparcGenAsmMatcher.inc -gen-asm-matcher)
|
|
tablegen(LLVM SparcGenDAGISel.inc -gen-dag-isel)
|
|
tablegen(LLVM SparcGenSubtargetInfo.inc -gen-subtarget)
|
|
tablegen(LLVM SparcGenCallingConv.inc -gen-callingconv)
|
|
add_public_tablegen_target(SparcCommonTableGen)
|
|
|
|
add_llvm_target(SparcCodeGen
|
|
DelaySlotFiller.cpp
|
|
LeonPasses.cpp
|
|
SparcAsmPrinter.cpp
|
|
SparcInstrInfo.cpp
|
|
SparcISelDAGToDAG.cpp
|
|
SparcISelLowering.cpp
|
|
SparcFrameLowering.cpp
|
|
SparcMachineFunctionInfo.cpp
|
|
SparcRegisterInfo.cpp
|
|
SparcSubtarget.cpp
|
|
SparcTargetMachine.cpp
|
|
SparcMCInstLower.cpp
|
|
SparcTargetObjectFile.cpp
|
|
)
|
|
|
|
add_subdirectory(TargetInfo)
|
|
add_subdirectory(MCTargetDesc)
|
|
add_subdirectory(InstPrinter)
|
|
add_subdirectory(AsmParser)
|
|
add_subdirectory(Disassembler)
|