[all-commits] [llvm/llvm-project] b1d8d7: [SelectionDAG] Replace the Chain in LOAD->VP_LOAD ...

Fraser Cormack via All-commits all-commits at lists.llvm.org
Wed Nov 10 09:58:16 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b1d8d70b9deac9c71b903c2f7fa2cd5ed8f8cc0d
      https://github.com/llvm/llvm-project/commit/b1d8d70b9deac9c71b903c2f7fa2cd5ed8f8cc0d
  Author: Fraser Cormack <fraser at codeplay.com>
  Date:   2021-11-10 (Wed, 10 Nov 2021)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
    M llvm/test/CodeGen/RISCV/rvv/legalize-load-sdnode.ll

  Log Message:
  -----------
  [SelectionDAG] Replace the Chain in LOAD->VP_LOAD widening

The introduction of this legalization, D111248, forgot to replace the
old chain with the new. This could manifest itself in the old
(illegally-typed) value remaining in the DAG, though the simple test
cases didn't catch this.

Reviewed By: craig.topper

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




More information about the All-commits mailing list