[lld] [lld][ELF] Recognize sparcv9 bitcode (PR #72609)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 16 23:54:11 PST 2023


================
@@ -1607,6 +1607,8 @@ static uint16_t getBitcodeMachineKind(StringRef path, const Triple &t) {
   case Triple::riscv32:
   case Triple::riscv64:
     return EM_RISCV;
+  case Triple::sparcv9:
----------------
MaskRay wrote:

Add `test/ELF/lto/riscv.ll`?

https://github.com/llvm/llvm-project/pull/72609


More information about the llvm-commits mailing list