[all-commits] [llvm/llvm-project] bb35f0: [SelectionDAG] Fix incorrect offset when expanding...

paulwalker-arm via All-commits all-commits at lists.llvm.org
Wed Jul 8 08:41:43 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: bb35f0fd89ff4904cc954f1578b6bbe28a6795f1
      https://github.com/llvm/llvm-project/commit/bb35f0fd89ff4904cc954f1578b6bbe28a6795f1
  Author: Paul Walker <paul.walker at arm.com>
  Date:   2020-07-08 (Wed, 08 Jul 2020)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
    A llvm/test/CodeGen/AArch64/sve-fixed-length-shuffles.ll

  Log Message:
  -----------
  [SelectionDAG] Fix incorrect offset when expanding CONCAT_VECTORS.

ExpandVectorBuildThroughStack is also used for CONCAT_VECTORS.
However, when calculating the offsets for each of the operands we
incorrectly use the element size rather than actual size and thus
the stores overlap.

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




More information about the All-commits mailing list