-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Closed
Labels
code-cleanupgood first issuehttps://github.com/llvm/llvm-project/contributehttps://github.com/llvm/llvm-project/contributellvmUmbrella label for LLVM issuesUmbrella label for LLVM issues
Description
The KnownBits infrastructure currently has pervasive !hasConflict() assertions, which ensure that KnownBits don't claim that a bit is both zero and one at the same time. However, these kinds of conflicts can naturally arise whenever the value is known to be poison. At this point, these assertions no longer provide value and just result in a steady stream of compiler crashes.
We should remove these assertions. Once that is done, we may also make use of conflicting KnownBits to fold values to poison.
Metadata
Metadata
Assignees
Labels
code-cleanupgood first issuehttps://github.com/llvm/llvm-project/contributehttps://github.com/llvm/llvm-project/contributellvmUmbrella label for LLVM issuesUmbrella label for LLVM issues