[all-commits] [llvm/llvm-project] 8f18cf: AMDGPU: Check for implicit defs before constant fo...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Fri Aug 11 07:36:23 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8f18cf77e79e1f1534d97220a14d684095f7b92a
      https://github.com/llvm/llvm-project/commit/8f18cf77e79e1f1534d97220a14d684095f7b92a
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2023-08-11 (Fri, 11 Aug 2023)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachineInstr.h
    M llvm/lib/CodeGen/MachineInstr.cpp
    M llvm/lib/Target/AMDGPU/SIFoldOperands.cpp
    M llvm/test/CodeGen/AMDGPU/constant-fold-imm-immreg.mir
    A llvm/test/CodeGen/AMDGPU/memcpy-crash-issue63986.ll

  Log Message:
  -----------
  AMDGPU: Check for implicit defs before constant folding instruction

Can't delete the constant folded instruction if scc is used.

Fixes #63986

https://reviews.llvm.org/D157504




More information about the All-commits mailing list