[all-commits] [llvm/llvm-project] 390931: [DAG] visitTRUNCATE - format (truncate (load x)) f...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Dec 14 07:20:24 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 39093102cade6ec09d3f9f625dd942eeb5ccc737
      https://github.com/llvm/llvm-project/commit/39093102cade6ec09d3f9f625dd942eeb5ccc737
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2023-12-14 (Thu, 14 Dec 2023)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp

  Log Message:
  -----------
  [DAG] visitTRUNCATE - format (truncate (load x)) fold code.

Reduces diff in #75229


  Commit: 3c423722cfd75bf293e42001145fe9ebad53c522
      https://github.com/llvm/llvm-project/commit/3c423722cfd75bf293e42001145fe9ebad53c522
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2023-12-14 (Thu, 14 Dec 2023)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/splat-for-size.ll
    M llvm/test/CodeGen/X86/vector-interleaved-load-i16-stride-3.ll
    M llvm/test/CodeGen/X86/vector-interleaved-load-i16-stride-5.ll
    M llvm/test/CodeGen/X86/vector-interleaved-load-i16-stride-7.ll
    M llvm/test/CodeGen/X86/vector-interleaved-load-i32-stride-4.ll
    M llvm/test/CodeGen/X86/vector-interleaved-load-i32-stride-6.ll
    M llvm/test/CodeGen/X86/vector-interleaved-load-i8-stride-5.ll
    M llvm/test/CodeGen/X86/vector-interleaved-load-i8-stride-6.ll
    M llvm/test/CodeGen/X86/vector-interleaved-load-i8-stride-7.ll
    M llvm/test/CodeGen/X86/vector-interleaved-store-i16-stride-7.ll
    M llvm/test/CodeGen/X86/vector-interleaved-store-i16-stride-8.ll
    M llvm/test/CodeGen/X86/vector-interleaved-store-i32-stride-6.ll
    M llvm/test/CodeGen/X86/vector-interleaved-store-i32-stride-7.ll
    M llvm/test/CodeGen/X86/vector-interleaved-store-i32-stride-8.ll
    M llvm/test/CodeGen/X86/vector-interleaved-store-i8-stride-5.ll
    M llvm/test/CodeGen/X86/vector-interleaved-store-i8-stride-7.ll

  Log Message:
  -----------
  [X86] combineLoad - improve constant pool matches by ignoring undef elements

When trying to share constant pool entries, we can ignore the undef elements of the entry that is being removed


Compare: https://github.com/llvm/llvm-project/compare/9cf3e31172b7...3c423722cfd7


More information about the All-commits mailing list