[all-commits] [llvm/llvm-project] 7500b4: [X86] combineConcatVectorOps - fold concat(movs*du...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Jan 14 07:51:54 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7500b4c7e418b072c1da93e5d8066218c24ecc48
      https://github.com/llvm/llvm-project/commit/7500b4c7e418b072c1da93e5d8066218c24ecc48
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-01-14 (Fri, 14 Jan 2022)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/vector-shuffle-256-v8.ll

  Log Message:
  -----------
  [X86] combineConcatVectorOps - fold concat(movs*dup(x),movs*dup(y)) -> movs*dup(concat(x,y))


  Commit: 9b72e0f9a2b92c6076262d5dfdaf33a89c7affa7
      https://github.com/llvm/llvm-project/commit/9b72e0f9a2b92c6076262d5dfdaf33a89c7affa7
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-01-14 (Fri, 14 Jan 2022)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/vector-shuffle-256-v4.ll

  Log Message:
  -----------
  [X86] combineConcatVectorOps - fold concat(permilpd(x),permilpd(y)) -> permilpd(concat(x,y))


  Commit: f4aa2a42edacda61563a33a355dbd9bb22644bf5
      https://github.com/llvm/llvm-project/commit/f4aa2a42edacda61563a33a355dbd9bb22644bf5
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-01-14 (Fri, 14 Jan 2022)

  Changed paths:
    M llvm/tools/llvm-profgen/ProfiledBinary.cpp

  Log Message:
  -----------
  [llvm-profgen] ProfiledBinary::load - use cast<> instead of dyn_cast<> to avoid dereference of nullptr

The pointer is always dereferenced immediately, so assert the cast is correct instead of returning nullptr


Compare: https://github.com/llvm/llvm-project/compare/a8f1a715f00d...f4aa2a42edac


More information about the All-commits mailing list