[all-commits] [llvm/llvm-project] 2c729d: [AssumptionCache] Remove unnecessary bitcast/not h...

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Nov 28 05:31:41 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2c729d29aa1390253508c19b4d83dbedb233098d
      https://github.com/llvm/llvm-project/commit/2c729d29aa1390253508c19b4d83dbedb233098d
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-11-28 (Tue, 28 Nov 2023)

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

  Log Message:
  -----------
  [AssumptionCache] Remove unnecessary bitcast/not handling

We only handle not for the top level value of the condition, so
move it there instead of trying to look through not at all leafs.
Also remove bitcast handling entirely -- we don't do anything
special wrt bitcasts, this is probably a leftover from pointer
types.




More information about the All-commits mailing list