[all-commits] [llvm/llvm-project] 0df320: [ValueTracking] Fix KnownBits conflict for poison-...

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Dec 21 00:24:05 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0df320093155f937ae985847f20e28b790667a9f
      https://github.com/llvm/llvm-project/commit/0df320093155f937ae985847f20e28b790667a9f
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-12-21 (Thu, 21 Dec 2023)

  Changed paths:
    M llvm/lib/Analysis/ValueTracking.cpp
    A llvm/test/Analysis/ValueTracking/pr75505.ll

  Log Message:
  -----------
  [ValueTracking] Fix KnownBits conflict for poison-only vector

If all the demanded elements are poison, return unknown instead of
conflict to avoid downstream assertions.

Fixes https://github.com/llvm/llvm-project/issues/75505.




More information about the All-commits mailing list