[all-commits] [llvm/llvm-project] 246554: [DAG] DAGTypeLegalizer::PromoteIntRes_ADDSUBSHLSAT...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Feb 12 02:33:35 PST 2021


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

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

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

Style fixup - the if() block always returns so we can pull out the contents of the else() block.




More information about the All-commits mailing list