[all-commits] [llvm/llvm-project] 73adc2: [DAG] expandAddSubSat - break if-else chain. NFCI.

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Feb 26 03:02:34 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 73adc26ac0bea7b7fd01f1faa8ea2911d730b55d
      https://github.com/llvm/llvm-project/commit/73adc26ac0bea7b7fd01f1faa8ea2911d730b55d
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-02-26 (Fri, 26 Feb 2021)

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

  Log Message:
  -----------
  [DAG] expandAddSubSat - break if-else chain. NFCI.

Fix styleguide issue - each if() block always returns so we don't need to make them a if-else chain.




More information about the All-commits mailing list