[all-commits] [llvm/llvm-project] 5ca09d: [ARM] Fix VBSL Pseudo kill flags. (#109629)

David Green via All-commits all-commits at lists.llvm.org
Tue Sep 24 00:11:44 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5ca09d617da89c4466347030e2949dc5713eabcb
      https://github.com/llvm/llvm-project/commit/5ca09d617da89c4466347030e2949dc5713eabcb
  Author: David Green <david.green at arm.com>
  Date:   2024-09-24 (Tue, 24 Sep 2024)

  Changed paths:
    M llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp
    M llvm/test/CodeGen/ARM/expand-pseudos.mir
    M llvm/test/CodeGen/ARM/vbsl.ll

  Log Message:
  -----------
  [ARM] Fix VBSL Pseudo kill flags. (#109629)

When expanding a VBSP pseudo into VMOV; VBSL, if the first reg was
killed in the BSP then the kill flags could be incorrect copied to the
mov (vorr) and the vbsl. Drop the kill flags.

Note that this sometimes comes up when all the operands of the VBSP are
the same, which can be optimized separately.



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