[all-commits] [llvm/llvm-project] b210cb: [BDCE] Fix clearing of poison-generating flags

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Jan 31 02:24:32 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b210cbbd0eb8ef7cd2735e99570474e6e53ee00b
      https://github.com/llvm/llvm-project/commit/b210cbbd0eb8ef7cd2735e99570474e6e53ee00b
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2024-01-31 (Wed, 31 Jan 2024)

  Changed paths:
    M llvm/lib/Transforms/Scalar/BDCE.cpp
    M llvm/test/Transforms/BDCE/invalidate-assumptions.ll

  Log Message:
  -----------
  [BDCE] Fix clearing of poison-generating flags

If the demanded bits of an instruction are full, we don't have to
recurse to its users, but we may still have to clear flags on the
instruction itself.

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




More information about the All-commits mailing list