[llvm] [SelectionDAG] Look through ISD::FREEZE in SimplifyDemanded checks (PR #200931)
Phoebe Wang via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 1 21:07:58 PDT 2026
================
@@ -3233,6 +3235,8 @@ bool TargetLowering::SimplifyDemandedVectorElts(
KnownUndef.setAllBits();
return false;
}
+ if (peekThroughFreeze(Op).isUndef())
+ return false;
----------------
phoebewang wrote:
Why add rather than modify `Op.isUndef()`
https://github.com/llvm/llvm-project/pull/200931
More information about the llvm-commits
mailing list