[all-commits] [llvm/llvm-project] d3da5b: [InstCombine] Return poison for known bits conflict

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


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d3da5b4521f82e1b092006e3d168053e673f72d9
      https://github.com/llvm/llvm-project/commit/d3da5b4521f82e1b092006e3d168053e673f72d9
  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] Return poison for known bits conflict

I suspect that this case is not actually reachable in practice
(because it gets folded away by other code before), but if we do
reach it, we should return poison, not undef.




More information about the All-commits mailing list