[all-commits] [llvm/llvm-project] 77aaba: [InstCombine] Compute bits of first operand for mu...

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed May 17 09:34:34 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 77aaba6aae9667e5091bf35b1cfdef995840a8c9
      https://github.com/llvm/llvm-project/commit/77aaba6aae9667e5091bf35b1cfdef995840a8c9
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-05-17 (Wed, 17 May 2023)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp

  Log Message:
  -----------
  [InstCombine] Compute bits of first operand for multi-use sub

Otherwise the result will always be unknown anyway. This fixes one
of the last inconsistencies in results between computeKnownBits()
and SimplifyDemandedBits().




More information about the All-commits mailing list