[all-commits] [llvm/llvm-project] ce3648: [RISCV] Update V0Defs after moving Src in peephole...

Luke Lau via All-commits all-commits at lists.llvm.org
Thu Sep 5 09:31:26 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ce3648094d44e8c098396a353b215acecb363cda
      https://github.com/llvm/llvm-project/commit/ce3648094d44e8c098396a353b215acecb363cda
  Author: Luke Lau <luke at igalia.com>
  Date:   2024-09-06 (Fri, 06 Sep 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVVectorPeephole.cpp

  Log Message:
  -----------
  [RISCV] Update V0Defs after moving Src in peepholes (#107359)

If we move a pseudo in tryReduceVL or foldVMV_V_V via ensureDominates,
its V0 definition may have changed so we need to update V0Defs.

This shouldn't have any functional change today since any pseudo which
uses V0 won't be able to move past a new definition.

However this will matter if we add a peephole to convert unmasked
pseudos to masked pseudos and add a use of V0.



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