[all-commits] [llvm/llvm-project] e819f5: [LegalizeTypes] Combine PromoteIntRes_VECTOR_DEINT...

Craig Topper via All-commits all-commits at lists.llvm.org
Wed Jun 28 07:58:03 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e819f5cccfe93a674d9d437a08457db918cd73a7
      https://github.com/llvm/llvm-project/commit/e819f5cccfe93a674d9d437a08457db918cd73a7
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-06-28 (Wed, 28 Jun 2023)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h

  Log Message:
  -----------
  [LegalizeTypes] Combine PromoteIntRes_VECTOR_DEINTERLEAVE and PromoteIntRes_VECTOR_INTERLEAVE. NFC

The functions are identical except for the opcode of the node.
We can have a single function and use N->getOpcode().

Reviewed By: luke, paulwalker-arm

Differential Revision: https://reviews.llvm.org/D153929




More information about the All-commits mailing list