[all-commits] [llvm/llvm-project] f52e05: [LVI] Use Optional instead of out parameter (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Sun Apr 19 12:18:05 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f52e0507574b4fd84dc4674536f5dfbab396c0f6
      https://github.com/llvm/llvm-project/commit/f52e0507574b4fd84dc4674536f5dfbab396c0f6
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2020-04-19 (Sun, 19 Apr 2020)

  Changed paths:
    M llvm/lib/Analysis/LazyValueInfo.cpp

  Log Message:
  -----------
  [LVI] Use Optional instead of out parameter (NFC)

As suggested on D76788, this switches the LVI implementation to
return Optional<ValueLatticeElement> from various methods, instead
of passing in a ValueLatticeElement reference and returning a boolean.

Differential Revision: https://reviews.llvm.org/D78383




More information about the All-commits mailing list