[all-commits] [llvm/llvm-project] 0d21b7: [SLP][NFC]Improve compile-time by using map {TreeE...

Alexey Bataev via All-commits all-commits at lists.llvm.org
Mon Jul 17 11:36:39 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0d21b7cbdeb2f2eb5ef123a15099da0b651b24c0
      https://github.com/llvm/llvm-project/commit/0d21b7cbdeb2f2eb5ef123a15099da0b651b24c0
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2023-07-17 (Mon, 17 Jul 2023)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

  Log Message:
  -----------
  [SLP][NFC]Improve compile-time by using map {TreeEntry *, Instruction *}
in getLastInstructionInBundle(), NFC.

Instead of building EntryToLastInstruction before the vectorization,
build it automatically during the calls to getLastInstructionInBundle()
function.




More information about the All-commits mailing list