[all-commits] [llvm/llvm-project] a44bf5: [SCCP] Remove unused toLatticeValue helper (NFC).

Florian Hahn via All-commits all-commits at lists.llvm.org
Sat Mar 28 08:45:31 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: a44bf59c93b4807934c896ea25f3628c50dd5f44
      https://github.com/llvm/llvm-project/commit/a44bf59c93b4807934c896ea25f3628c50dd5f44
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2020-03-28 (Sat, 28 Mar 2020)

  Changed paths:
    M llvm/lib/Transforms/Scalar/SCCP.cpp

  Log Message:
  -----------
  [SCCP] Remove unused toLatticeValue helper (NFC).

LatticeVal is an alias for ValueLatticeElement and the function is not
used any longer.


  Commit: 81f173ed0e2c4b49b217625e11efa4dcdc9304ad
      https://github.com/llvm/llvm-project/commit/81f173ed0e2c4b49b217625e11efa4dcdc9304ad
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2020-03-28 (Sat, 28 Mar 2020)

  Changed paths:
    M llvm/lib/Transforms/Scalar/SCCP.cpp

  Log Message:
  -----------
  [SCCP] Remove LatticeVal alias now that transition is done (NFC).

The LatticeVal alias was introduced to reduce the diff size for the
transition to ValueLatticeElement, which is done now.

This patch removes the unnecessary alias and updates some very verbose
type uses with auto.


Compare: https://github.com/llvm/llvm-project/compare/9619c2cc9a22...81f173ed0e2c


More information about the All-commits mailing list