[all-commits] [llvm/llvm-project] aa7e5e: [NFC][LLVM] Make `MachineInstrBuilder::constrainAl...

Juan Manuel Martinez Caamaño via All-commits all-commits at lists.llvm.org
Wed Feb 4 01:38:17 PST 2026


  Branch: refs/heads/users/jmmartinez/nfc/constrain_all_uses_void
  Home:   https://github.com/llvm/llvm-project
  Commit: aa7e5e8a8a9e06a3c24fbf6646bde0cf9c745f4e
      https://github.com/llvm/llvm-project/commit/aa7e5e8a8a9e06a3c24fbf6646bde0cf9c745f4e
  Author: Juan Manuel Martinez Caamaño <jmartinezcaamao at gmail.com>
  Date:   2026-02-04 (Wed, 04 Feb 2026)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachineInstrBuilder.h
    M llvm/lib/Target/Mips/MipsInstructionSelector.cpp
    M llvm/lib/Target/Mips/MipsLegalizerInfo.cpp
    M llvm/lib/Target/PowerPC/GISel/PPCInstructionSelector.cpp
    M llvm/lib/Target/RISCV/GISel/RISCVInstructionSelector.cpp
    M llvm/lib/Target/SPIRV/SPIRVCallLowering.cpp
    M llvm/lib/Target/SPIRV/SPIRVISelLowering.cpp
    M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp

  Log Message:
  -----------
  [NFC][LLVM] Make `MachineInstrBuilder::constrainAllUses` return `void`

This function always returns `true`; so we can transform it to return
`void` and simplify the code.

Follow up of https://github.com/llvm/llvm-project/pull/179501 .



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