This patch includes following items.
- Defines ELF binary code for VE
- Adds AsmParser and minimum AsmBackend/ELFObjectWriter/MCCodeEmitter.
- Corrects bitfield defined in VEInstrFormats.td
- Adds regression test of MC layer for a LEA instruction.
Paths
| Differential D78698
[VE] Implements minimum MC layer for VE AbandonedPublic Authored by kaz7 on Apr 23 2020, 1:58 AM.
Details
Summary This patch includes following items.
Diff Detail
Event TimelineHerald added subscribers: llvm-commits, hiraditya, mgorny, wdng. · View Herald TranscriptApr 23 2020, 1:58 AM Comment Actions I've not recognized several errors related to lld. I'll revise this patch to fix those errors. Comment Actions I guess lld error is caused by build server. Comment Actions I guess this is ok from the technical side. However, as it is, this patch is quite large and fixes bugs in existing code and adds new functionality at the same time. How about we split this up into three patches:
Comment Actions Thank you for the comments. I'm also considering the size of this patch. I'll split it as you suggested after a week and half holidays. How should I leave this patch? Close this and open divided patches newly? Let me know the recommended way. Thanks in advance. Comment Actions Thanks for the comments.
Comment Actions
It's up to you really. I'd keep this patch open and add its parts as related revisions. Once all the child patches are committed, this diff can be closed/abandoned.
Comment Actions Closing this ticket since I divided this to 4 patches, and all of them are reviewed and landed well. Thank you!
Revision Contents
Diff 260191 llvm/include/llvm/BinaryFormat/ELF.h
llvm/include/llvm/BinaryFormat/ELFRelocs/VE.def
llvm/lib/Target/VE/AsmParser/CMakeLists.txt
llvm/lib/Target/VE/AsmParser/LLVMBuild.txt
llvm/lib/Target/VE/AsmParser/VEAsmParser.cpp
llvm/lib/Target/VE/CMakeLists.txt
llvm/lib/Target/VE/LLVMBuild.txt
llvm/lib/Target/VE/MCTargetDesc/CMakeLists.txt
llvm/lib/Target/VE/MCTargetDesc/VEAsmBackend.cpp
llvm/lib/Target/VE/MCTargetDesc/VEELFObjectWriter.cpp
llvm/lib/Target/VE/MCTargetDesc/VEMCCodeEmitter.cpp
llvm/lib/Target/VE/MCTargetDesc/VEMCTargetDesc.h
llvm/lib/Target/VE/MCTargetDesc/VEMCTargetDesc.cpp
llvm/lib/Target/VE/VE.td
llvm/lib/Target/VE/VEInstrFormats.td
llvm/lib/Target/VE/VEInstrInfo.td
llvm/test/MC/VE/LEA.s
|
typo