[all-commits] [llvm/llvm-project] 7ebc3d: [llvm] Make getEffectiveRelocModel helper consiste...

Sam Clegg via All-commits all-commits at lists.llvm.org
Sat Oct 25 21:20:42 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7ebc3dbe8bbf1f7a6ae5af531d02dcfe745d92ef
      https://github.com/llvm/llvm-project/commit/7ebc3dbe8bbf1f7a6ae5af531d02dcfe745d92ef
  Author: Sam Clegg <sbc at chromium.org>
  Date:   2025-10-25 (Sat, 25 Oct 2025)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
    M llvm/lib/Target/LoongArch/LoongArchTargetMachine.cpp
    M llvm/lib/Target/M68k/M68kTargetMachine.cpp
    M llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp

  Log Message:
  -----------
  [llvm] Make getEffectiveRelocModel helper consistent across targets. NFC (#165121)

- On targets that don't require the Triple, don't pass it.
- Use `.value_or` to where possible.



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