[all-commits] [llvm/llvm-project] 96a74c: [ValueLattice] Fix typo in condition (NFC)

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Nov 2 09:52:28 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 96a74c452728fd330f99394bb25dacecd9325645
      https://github.com/llvm/llvm-project/commit/96a74c452728fd330f99394bb25dacecd9325645
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-11-02 (Wed, 02 Nov 2022)

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

  Log Message:
  -----------
  [ValueLattice] Fix typo in condition (NFC)

Fix typo pointed out by Roman Divacky.

There should be no functional change, as the rest of the code will
return nullptr for undef anyway. The condition is just there for
clarity.




More information about the All-commits mailing list