[all-commits] [llvm/llvm-project] efd800: CodeGen: Fix CGPassBuilderOption::EnableGlobalISel...

Petar Avramovic via All-commits all-commits at lists.llvm.org
Fri Jun 5 08:59:55 PDT 2026


  Branch: refs/heads/users/petar-avramovic/EnableGlobalISelOption
  Home:   https://github.com/llvm/llvm-project
  Commit: efd80081f485c05a81c5449f6be12f78123048c9
      https://github.com/llvm/llvm-project/commit/efd80081f485c05a81c5449f6be12f78123048c9
  Author: Petar Avramovic <Petar.Avramovic at amd.com>
  Date:   2026-06-05 (Fri, 05 Jun 2026)

  Changed paths:
    M llvm/lib/CodeGen/TargetPassConfig.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
    A llvm/unittests/CodeGen/CGPassBuilderOptionTest.cpp
    M llvm/unittests/CodeGen/CMakeLists.txt

  Log Message:
  -----------
  CodeGen: Fix CGPassBuilderOption::EnableGlobalISelOption for -global-isel=0

SET_OPTION assigned the cl::boolOrDefault into std::optional<bool>;
BOU_FALSE (=2) converts to true, so -global-isel=0 was stored as true
instead of false.



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