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

Nemanja Ivanovic via All-commits all-commits at lists.llvm.org
Fri Mar 24 07:57:33 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e7c35d71007fab6e6729a0cfa821023128de2f74
  Author: Nemanja Ivanovic <nemanja.i.ibm at gmail.com>
  Date:   2023-03-24 (Fri, 24 Mar 2023)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M 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