[all-commits] [llvm/llvm-project] 5d1617: MIPS/expandAtomicBinOp: Remove tailing kill dead r...

YunQiang Su via All-commits all-commits at lists.llvm.org
Fri Apr 17 02:36:49 PDT 2026


  Branch: refs/heads/release/22.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 5d161731998c2537c61fb3d5d7bc74795210e0fd
      https://github.com/llvm/llvm-project/commit/5d161731998c2537c61fb3d5d7bc74795210e0fd
  Author: YunQiang Su <yunqiang at isrc.iscas.ac.cn>
  Date:   2026-04-17 (Fri, 17 Apr 2026)

  Changed paths:
    M llvm/lib/Target/Mips/MipsExpandPseudo.cpp
    A llvm/test/CodeGen/Mips/atomic-min-max-LiveVariables.ll

  Log Message:
  -----------
  MIPS/expandAtomicBinOp: Remove tailing kill dead register operands (#186055)

Some trailing kill/dead register operands may added by
MachineInstr::addRegisterKilled or MachineInstr::addRegisterDead, which
uses the overlap registers same with the operand 1-4.

Let's remove them here as only 5 operands are assert existing.

(cherry picked from commit d2c6e4c11da26c6452d4131cf5dd8de9a5e06e97)



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