[PATCH] D129765: [DAG] SimplifyDemandedBits - don't early-out for multiple use values

Mikael Holmén via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 27 04:50:21 PDT 2022


uabelho added a comment.

Hi,

I'm seeing a crash

  13:07:13 llc: ../lib/CodeGen/SelectionDAG/TargetLowering.cpp:1878: bool llvm::TargetLowering::SimplifyDemandedBits(llvm::SDValue, const llvm::APInt &, const llvm::APInt &, llvm::KnownBits &, llvm::TargetLowering::TargetLoweringOpt &, unsigned int, bool) const: Assertion `!Known.hasConflict() && "Bits known to be one AND zero?"' failed.

with this patch. I'll see if I can extract a reproducer.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D129765/new/

https://reviews.llvm.org/D129765



More information about the llvm-commits mailing list