[all-commits] [llvm/llvm-project] 98ccc7: [DAG] Fix crash in replaceStoreOfInsertLoad

Pierre van Houtryve via All-commits all-commits at lists.llvm.org
Tue Aug 8 06:15:52 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 98ccc70b93a39a7ea3e26f7f5b5fe40d39b5a7e5
      https://github.com/llvm/llvm-project/commit/98ccc70b93a39a7ea3e26f7f5b5fe40d39b5a7e5
  Author: pvanhout <pierre.vanhoutryve at amd.com>
  Date:   2023-08-08 (Tue, 08 Aug 2023)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    A llvm/test/CodeGen/AMDGPU/replace-store-of-insert-load.ll

  Log Message:
  -----------
  [DAG] Fix crash in replaceStoreOfInsertLoad

Idx's type can be different from Ptr's, causing a "Binary operator types must match" assertion failure when emitting the MUL.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D156972




More information about the All-commits mailing list