[PATCH] D146460: [SelectionDAG] Correctly reduce BV to shuffle with zero on big endian
Nemanja Ivanovic via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 20 15:04:50 PDT 2023
nemanjai created this revision.
nemanjai added reviewers: arsenm, efriedma, PowerPC.
Herald added a subscriber: hiraditya.
Herald added a project: All.
nemanjai requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.
This DAG combine is correct on little endian targets but is incorrect on big endian targets. Add big endian code to correct it.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D146460
Files:
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
llvm/test/CodeGen/PowerPC/pr61315.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146460.506739.patch
Type: text/x-patch
Size: 6697 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230320/b3fdb275/attachment.bin>
More information about the llvm-commits
mailing list