[all-commits] [llvm/llvm-project] 6bd5b1: [DAG] combineShiftToMULH - move getValueType() ins...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sat Sep 25 03:58:29 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6bd5b1b1ce0b7b206ce98f42287521ecf8a9bea6
      https://github.com/llvm/llvm-project/commit/6bd5b1b1ce0b7b206ce98f42287521ecf8a9bea6
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-09-25 (Sat, 25 Sep 2021)

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

  Log Message:
  -----------
  [DAG] combineShiftToMULH - move getValueType() inside assert. NFCI.

Avoids an unnecessary (void).


  Commit: ee267b1c7c0147925af8ca4c9d694d7c658b5fbd
      https://github.com/llvm/llvm-project/commit/ee267b1c7c0147925af8ca4c9d694d7c658b5fbd
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-09-25 (Sat, 25 Sep 2021)

  Changed paths:
    M llvm/include/llvm/IR/DIBuilder.h
    M llvm/lib/IR/DIBuilder.cpp

  Log Message:
  -----------
  [IR] DIBuilder::createEnumerator - pass APSInt by const reference

Avoid unnecessary copy by value.


Compare: https://github.com/llvm/llvm-project/compare/0f78ece16902...ee267b1c7c01


More information about the All-commits mailing list