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

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu Mar 6 04:15:45 PST 2025


  Branch: refs/heads/users/arsenm/peephole-opt/remove-dead-subreg-def-check-for-bitcast
  Home:   https://github.com/llvm/llvm-project
  Commit: c7d08110c29c0c37c198fa02b953767eaf68a3be
      https://github.com/llvm/llvm-project/commit/c7d08110c29c0c37c198fa02b953767eaf68a3be
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-03-06 (Thu, 06 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