[all-commits] [llvm/llvm-project] 9e00b6: [SelectionDAG] Remove unneeded vector resize from ...

Craig Topper via All-commits all-commits at lists.llvm.org
Wed Mar 31 12:33:46 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9e00b6660d2b6ffa83a7fb8c82fc6862d6b80c05
      https://github.com/llvm/llvm-project/commit/9e00b6660d2b6ffa83a7fb8c82fc6862d6b80c05
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2021-03-31 (Wed, 31 Mar 2021)

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

  Log Message:
  -----------
  [SelectionDAG] Remove unneeded vector resize from the end of FoldConstantArithmetic. NFC

There's an assert right before that makes sure the size already matches.
Earlier in this function's life, scalars and vectors shared more
code.




More information about the All-commits mailing list