[all-commits] [llvm/llvm-project] ae51a7: [Legalize] Hoist invariant condition in ExpandVect...

Cameron McInally via All-commits all-commits at lists.llvm.org
Wed Jul 15 09:46:35 PDT 2020


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

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp

  Log Message:
  -----------
  [Legalize] Hoist invariant condition in ExpandVectorBuildThroughStack(...)

The operands of a BUILD_VECTOR must all have the same type, so we can hoist this invariant condition out of the loop.

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




More information about the All-commits mailing list