[all-commits] [llvm/llvm-project] 0a15ea: [BDCE] Introduce test for PR79688 (NFC)

Antonio Frighetto via All-commits all-commits at lists.llvm.org
Mon Jan 29 10:07:53 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0a15ead01b6be095a87a405e63e9525ed123ac58
      https://github.com/llvm/llvm-project/commit/0a15ead01b6be095a87a405e63e9525ed123ac58
  Author: Antonio Frighetto <me at antoniofrighetto.com>
  Date:   2024-01-29 (Mon, 29 Jan 2024)

  Changed paths:
    A llvm/test/Transforms/BDCE/binops-multiuse.ll

  Log Message:
  -----------
  [BDCE] Introduce test for PR79688 (NFC)


  Commit: 20737825c9122b6e0a8912731cfa7e0558fe025d
      https://github.com/llvm/llvm-project/commit/20737825c9122b6e0a8912731cfa7e0558fe025d
  Author: Antonio Frighetto <me at antoniofrighetto.com>
  Date:   2024-01-29 (Mon, 29 Jan 2024)

  Changed paths:
    M llvm/lib/Transforms/Scalar/BDCE.cpp
    M llvm/test/Transforms/BDCE/binops-multiuse.ll
    M llvm/test/Transforms/BDCE/dead-uses.ll

  Log Message:
  -----------
  [BDCE] Handle multi-use binary ops upon demanded bits

Simplify multi-use `and`/`or`/`xor` when these last
do not affect the demanded bits being considered.

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

Proofs: https://alive2.llvm.org/ce/z/EjuWHa.


Compare: https://github.com/llvm/llvm-project/compare/3ab5dbb19959...20737825c912


More information about the All-commits mailing list