[all-commits] [llvm/llvm-project] 877523: [ValueTracking] Remove handling of KnownBits assum...

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Nov 17 01:42:38 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8775232c49cde288c429e27dd0f4f492fbb0cefa
      https://github.com/llvm/llvm-project/commit/8775232c49cde288c429e27dd0f4f492fbb0cefa
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-11-17 (Fri, 17 Nov 2023)

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

  Log Message:
  -----------
  [ValueTracking] Remove handling of KnownBits assumptions with invert

For all practical purposes, we only care about comparisons with
constant RHS in this code. In that case, an invert will be
canonicalized into the constant and it will be handled by other cases.

Given the complete lack of test coverage, I'm removing this code.




More information about the All-commits mailing list