[all-commits] [llvm/llvm-project] 05ce9a: Tighten description of ISD::BUILD_VECTOR

Cameron McInally via All-commits all-commits at lists.llvm.org
Wed Jul 8 12:06:50 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 05ce9aaa69f9f58598730895bdb5535fea17213f
      https://github.com/llvm/llvm-project/commit/05ce9aaa69f9f58598730895bdb5535fea17213f
  Author: Cameron McInally <mcinally at cray.com>
  Date:   2020-07-08 (Wed, 08 Jul 2020)

  Changed paths:
    M llvm/include/llvm/CodeGen/ISDOpcodes.h

  Log Message:
  -----------
  Tighten description of ISD::BUILD_VECTOR

VerifySDNode(...) in SelectionDAG.cpp shows that the operands of a BUILD_VECTOR must all be the same type. This patch cleans up the comment in ISDOpcodes.h to make that more obvious. Also, remove the requirement that the number of elements must be a power-of-2. That's not true.

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




More information about the All-commits mailing list