[all-commits] [llvm/llvm-project] 976282: clang: Remove BoundArch assert in AMDGPUToolChain:...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Wed Jun 10 10:52:16 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 976282b5bd3c7aa628c12edaad30b17e07817bc4
      https://github.com/llvm/llvm-project/commit/976282b5bd3c7aa628c12edaad30b17e07817bc4
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2026-06-10 (Wed, 10 Jun 2026)

  Changed paths:
    M clang/lib/Driver/ToolChains/AMDGPU.cpp

  Log Message:
  -----------
  clang: Remove BoundArch assert in AMDGPUToolChain::addClangTargetOptions (#203060)

This was assuming that the offload languages use a subclass, and
only OpenCL hits the AMDGPUToolChain base class. Flang violates this,
and passes in the wrong values. Delete the assert for now.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list