[all-commits] [llvm/llvm-project] 5d7efd: [SDAG] Refine MMO size when converting masked load...

David Green via All-commits all-commits at lists.llvm.org
Wed Dec 8 02:13:37 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5d7efd4758b3d764f08e07abe05b821242e75830
      https://github.com/llvm/llvm-project/commit/5d7efd4758b3d764f08e07abe05b821242e75830
  Author: David Green <david.green at arm.com>
  Date:   2021-12-08 (Wed, 08 Dec 2021)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    A llvm/test/CodeGen/X86/masked_loadstore_split.ll

  Log Message:
  -----------
  [SDAG] Refine MMO size when converting masked load/store to normal load/store

After D113888 / 32b6c17b29079e7d the MMO size of a masked loads/store is
unknown. When we are converting back to a standard load/store because
the mask is known all ones, we can refine that to the correct size from
the size of the vector being loaded/stored.

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




More information about the All-commits mailing list