[all-commits] [llvm/llvm-project] 17ecb5: [AMDGPU] AMDGPUTargetStreamer::getArchNameFromElfM...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Mon Jul 31 09:25:24 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 17ecb55da5a0e12c2b2c99377ace9ee9c4a6fa38
      https://github.com/llvm/llvm-project/commit/17ecb55da5a0e12c2b2c99377ace9ee9c4a6fa38
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2023-07-31 (Mon, 31 Jul 2023)

  Changed paths:
    M llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp

  Log Message:
  -----------
  [AMDGPU] AMDGPUTargetStreamer::getArchNameFromElfMach - use GPUKind::GK_NONE for unknown AMDGPU ElfMach flags

Avoids issue reported on ea2c159f966b where objects with unknown subtarget ids were causing llvm_unreachable crashes




More information about the All-commits mailing list