[all-commits] [llvm/llvm-project] 2031e7: [InstCombine] Require non-demanded known bits to b...

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Nov 30 05:29:00 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2031e7226cc5318c547c6d3f62ac62d369d0e723
      https://github.com/llvm/llvm-project/commit/2031e7226cc5318c547c6d3f62ac62d369d0e723
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-11-30 (Thu, 30 Nov 2023)

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

  Log Message:
  -----------
  [InstCombine] Require non-demanded known bits to be accurate (NFC)

In practice this is already true, and having this as an explicit
guarantee is useful for #72912. I don't think there is any good
reason why we would want to produce incorrect KnownBits results
for non-demanded bits.




More information about the All-commits mailing list