[all-commits] [llvm/llvm-project] 94cc9e: [ValueTracking] Simplify KnownBits construction

jayfoad via All-commits all-commits at lists.llvm.org
Thu Apr 9 01:32:20 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 94cc9eccf65f2282ae780c3e98d19c5b3b6b9069
      https://github.com/llvm/llvm-project/commit/94cc9eccf65f2282ae780c3e98d19c5b3b6b9069
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2020-04-09 (Thu, 09 Apr 2020)

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

  Log Message:
  -----------
  [ValueTracking] Simplify KnownBits construction

Use the simpler BitWidth constructor instead of the copy constructor to
make it clear when we don't actually need to copy an existing KnownBits
value. Split out from D74539. NFC.




More information about the All-commits mailing list