[llvm] [DAG] Add computeKnownBits(FREEZE(X)) handling (PR #214095)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 4 23:52:14 PDT 2026
================
@@ -3388,6 +3388,12 @@ KnownBits SelectionDAG::computeKnownBits(SDValue Op, const APInt &DemandedElts,
unsigned Opcode = Op.getOpcode();
switch (Opcode) {
+ case ISD::FREEZE: {
+ if(isGuaranteedNotToBeUndefOrPoison(Op.getOperand(0), DemandedElts,
----------------
arsenm wrote:
Formatting
https://github.com/llvm/llvm-project/pull/214095
More information about the llvm-commits
mailing list