summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorAnastasia Stulova <anastasia.stulova@arm.com>2021-11-08 11:13:09 +0000
committerAnastasia Stulova <anastasia.stulova@arm.com>2021-11-08 13:34:10 +0000
commita10a69fe9c74bef3630795d9f2f516d7b84e1cd3 (patch)
treead78e55a073175bdf6b7c733658cbb6fb9c89488 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent0425087b8bac03693976ea34c156ca149482c853 (diff)
[SPIR-V] Add SPIR-V triple and clang target info.
Add new triple and target info for ‘spirv32’ and ‘spirv64’ and, thus, enabling clang (LLVM IR) code emission to SPIR-V target. The target for SPIR-V is mostly reused from SPIR by derivation from a common base class since IR output for SPIR-V is mostly the same as SPIR. Some refactoring are made accordingly. Added and updated tests for parts that are different between SPIR and SPIR-V. Patch by linjamaki (Henry Linjamäki)! Differential Revision: https://reviews.llvm.org/D109144
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions