[all-commits] [llvm/llvm-project] ec184d: [LVI] Convert some checks to assertions; NFC

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Mar 24 15:11:28 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ec184dd548f7832d09d3c6354a6d9d3db6cacc65
      https://github.com/llvm/llvm-project/commit/ec184dd548f7832d09d3c6354a6d9d3db6cacc65
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2020-03-24 (Tue, 24 Mar 2020)

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

  Log Message:
  -----------
  [LVI] Convert some checks to assertions; NFC

solveBlockValue() should only be called if the value isn't cached
yet. Similarly, it does not make sense to "solve" a constant.




More information about the All-commits mailing list