[all-commits] [llvm/llvm-project] 207228: [DAGCombiner] More load-store forwarding for big-e...

RolandF77 via All-commits all-commits at lists.llvm.org
Wed Sep 14 12:37:11 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 207228c1d6507a302a06eef7dfd9415417bd48bb
  Author: Roland Froese <froese at ca.ibm.com>
  Date:   2022-09-14 (Wed, 14 Sep 2022)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/AArch64/load-store-forwarding.ll
    M llvm/test/CodeGen/Mips/cconv/vector.ll
    M llvm/test/CodeGen/PowerPC/aix-cc-byval.ll
    M llvm/test/CodeGen/PowerPC/ppc64-byval-larger-struct.ll
    M llvm/test/CodeGen/PowerPC/ppc64-byval-multi-store.ll
    M llvm/test/CodeGen/PowerPC/pr45301.ll
    M llvm/test/CodeGen/PowerPC/store-forward-be32.ll
    M llvm/test/CodeGen/PowerPC/store-forward-be64.ll

  Log Message:
  [DAGCombiner] More load-store forwarding for big-endian

Get some load-store forwarding cases for big-endian where a larger store covers
a smaller load, and the offset would be 0 and handled on little-endian but on
big-endian the offset is adjusted to be non-zero. The idea is just to shift the
data to make it look like the offset 0 case.

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

More information about the All-commits mailing list