[all-commits] [llvm/llvm-project] e32e14: [DAGCombiner] Don't drop alignment info of origina...

Jonas Paulsson via All-commits all-commits at lists.llvm.org
Tue Dec 19 07:31:04 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e32e147d6c6330a5fc396f862970398dd5c7631a
      https://github.com/llvm/llvm-project/commit/e32e147d6c6330a5fc396f862970398dd5c7631a
  Author: Jonas Paulsson <paulson1 at linux.ibm.com>
  Date:   2023-12-19 (Tue, 19 Dec 2023)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
    M llvm/test/CodeGen/X86/any_extend_vector_inreg_of_broadcast_from_memory.ll
    M llvm/test/CodeGen/X86/vector-interleaved-load-i16-stride-2.ll
    M llvm/test/CodeGen/X86/vector-interleaved-load-i16-stride-4.ll
    M llvm/test/CodeGen/X86/vector-interleaved-load-i32-stride-2.ll
    M llvm/test/CodeGen/X86/vector-interleaved-store-i64-stride-4.ll
    M llvm/test/CodeGen/X86/vector-interleaved-store-i64-stride-5.ll
    M llvm/test/CodeGen/X86/vector-interleaved-store-i64-stride-8.ll

  Log Message:
  -----------
  [DAGCombiner] Don't drop alignment info of original load. (#75626)

Pass the original MMO instead of different individual values.

getAlign() was used before where actually getOriginalAlign() would have been
better, and this patch has the same effect.




More information about the All-commits mailing list