[all-commits] [llvm/llvm-project] 6c2ad4: [SDAG] Extract helper to determine neutral element...

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Oct 29 14:05:30 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6c2ad4cf8758335e0896ba0540b21bbf6d239fbd
      https://github.com/llvm/llvm-project/commit/6c2ad4cf8758335e0896ba0540b21bbf6d239fbd
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2020-10-29 (Thu, 29 Oct 2020)

  Changed paths:
    M llvm/include/llvm/CodeGen/SelectionDAG.h
    M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp

  Log Message:
  -----------
  [SDAG] Extract helper to determine neutral element (NFC)

Make the existing VECREDUCE based code more generic, but expressing
it in terms of the neutral value of the base opcode instead.




More information about the All-commits mailing list