[all-commits] [llvm/llvm-project] 410530: [DAG] SimplifyVCastOp - ensure we select the corre...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Apr 20 02:39:08 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 41053053e37f66fcd4350759b172713c08aa41f0
      https://github.com/llvm/llvm-project/commit/41053053e37f66fcd4350759b172713c08aa41f0
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2023-04-20 (Thu, 20 Apr 2023)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

  Log Message:
  -----------
  [DAG] SimplifyVCastOp - ensure we select the correct value type from an SDValue operand

As reported on Issue #62234 - we weren't correctly using the SDValue operand to get its value type, resulting in a failure when it came from a SDNode with multiple results

We haven't been able to create a suitable upstream regression test, but its been confirmed by inspection by both myself and @topperc

Fixes #62234




More information about the All-commits mailing list