From 6c69427e880bf7bbcb711d24c65961f062256f2d Mon Sep 17 00:00:00 2001 From: Ilia Diachkov Date: Thu, 14 Apr 2022 01:10:08 +0300 Subject: [SPIR-V](3/6) Add MC layer, object file support, and InstPrinter The patch adds SPIRV-specific MC layer implementation, SPIRV object file support and SPIRVInstPrinter. Differential Revision: https://reviews.llvm.org/D116462 Authors: Aleksandr Bezzubikov, Lewis Crawford, Ilia Diachkov, Michal Paszkowski, Andrey Tretyakov, Konrad Trifunovic Co-authored-by: Aleksandr Bezzubikov Co-authored-by: Ilia Diachkov Co-authored-by: Michal Paszkowski Co-authored-by: Andrey Tretyakov Co-authored-by: Konrad Trifunovic --- llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp') diff --git a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp index 84f60f4..8131c1c 100644 --- a/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp +++ b/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp @@ -4890,6 +4890,9 @@ static const char *getSectionNameForBitcode(const Triple &T) { case Triple::GOFF: llvm_unreachable("GOFF is not yet implemented"); break; + case Triple::SPIRV: + llvm_unreachable("SPIRV is not yet implemented"); + break; case Triple::XCOFF: llvm_unreachable("XCOFF is not yet implemented"); break; @@ -4912,6 +4915,9 @@ static const char *getSectionNameForCommandline(const Triple &T) { case Triple::GOFF: llvm_unreachable("GOFF is not yet implemented"); break; + case Triple::SPIRV: + llvm_unreachable("SPIRV is not yet implemented"); + break; case Triple::XCOFF: llvm_unreachable("XCOFF is not yet implemented"); break; -- cgit v1.1