[all-commits] [llvm/llvm-project] a3c43f: PeepholeOpt: Remove subreg def check for bitcast

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu Mar 6 16:41:25 PST 2025


  Branch: refs/heads/users/arsenm/peephole-opt/remove-dead-subreg-def-check-for-bitcast
  Home:   https://github.com/llvm/llvm-project
  Commit: a3c43f803e0ff0747aa1d23b1400a84fa0642cf7
      https://github.com/llvm/llvm-project/commit/a3c43f803e0ff0747aa1d23b1400a84fa0642cf7
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-03-07 (Fri, 07 Mar 2025)

  Changed paths:
    M llvm/lib/CodeGen/PeepholeOptimizer.cpp
    M llvm/test/CodeGen/X86/pr41619.ll

  Log Message:
  -----------
  PeepholeOpt: Remove subreg def check for bitcast

Subregister defs are illegal in SSA. Surprisingly this enables folding
into subregister insert patterns in one test.



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