[all-commits] [llvm/llvm-project] 86b0c6: [SelectionDAG] Correctly reduce BV to shuffle with...

Nemanja Ivanovic via All-commits all-commits at lists.llvm.org
Tue Apr 4 11:33:47 PDT 2023


  Branch: refs/heads/release/16.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 86b0c6e4050261823f07a3fbfd272bea0cda778e
      https://github.com/llvm/llvm-project/commit/86b0c6e4050261823f07a3fbfd272bea0cda778e
  Author: Nemanja Ivanovic <nemanja.i.ibm at gmail.com>
  Date:   2023-04-04 (Tue, 04 Apr 2023)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    A llvm/test/CodeGen/PowerPC/pr61315.ll

  Log Message:
  -----------
  [SelectionDAG] Correctly reduce BV to shuffle with zero on big endian

This DAG combine is correct on little endian targets but
is incorrect on big endian targets.
Add big endian code to correct it.

Differential revision: https://reviews.llvm.org/D146460




More information about the All-commits mailing list