[all-commits] [llvm/llvm-project] c5c967: [ValueLattice] Remove unnecessary ConstVal nulling...

Nikita Popov via All-commits all-commits at lists.llvm.org
Sat Apr 18 13:39:06 PDT 2020


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

  Changed paths:
    M llvm/include/llvm/Analysis/ValueLattice.h

  Log Message:
  -----------
  [ValueLattice] Remove unnecessary ConstVal nulling (NFC)

ConstVal is not an owned pointer, so setting it to nullptr is not
actually doing anything. If we switch to a state that does not use
ConstVal, the value does not matter.

Split out from D78425.




More information about the All-commits mailing list