[all-commits] [llvm/llvm-project] 5dc9c3: [GlobalISel] Check the correct register in sextloa...

David Green via All-commits all-commits at lists.llvm.org
Tue Nov 5 02:18:28 PST 2024


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

  Changed paths:
    M llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
    M llvm/test/CodeGen/AArch64/load.ll

  Log Message:
  -----------
  [GlobalISel] Check the correct register in sextload OneUse check. (#114763)

This fixes a bug that started triggering after #111730, where we could
remove a load with multiple uses. It looks like the match should be
checking the other register in a one-use check.

  %SrcReg = load..
  %DstReg = sign_extend_inreg %SrcReg



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