[all-commits] [llvm/llvm-project] 1c6fd9: [SelectionDAG] Do not salvage with vector node

Phoebe Wang via All-commits all-commits at lists.llvm.org
Thu Jun 8 23:55:30 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1c6fd98ffbb951e9acc1b534a41fe7dc01004ee8
      https://github.com/llvm/llvm-project/commit/1c6fd98ffbb951e9acc1b534a41fe7dc01004ee8
  Author: Phoebe Wang <phoebe.wang at intel.com>
  Date:   2023-06-09 (Fri, 09 Jun 2023)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
    A llvm/test/DebugInfo/X86/dbg-value-no-crash.ll

  Log Message:
  -----------
  [SelectionDAG] Do not salvage with vector node

rG2eb7cbf987f21 added this code, which results in crash for vector
nodes. This patch solves it by skipping for the vector nodes.

Thanks Steve for helping reducing the test case.

Co-authored-by: Steve Merritt <steve.merritt at intel.com>

Reviewed By: goldstein.w.n

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




More information about the All-commits mailing list