[llvm] [SelectionDAG] Look through ISD::FREEZE in SimplifyDemanded checks (PR #200931)
Phoebe Wang via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 2 20:55:29 PDT 2026
================
@@ -3233,6 +3235,8 @@ bool TargetLowering::SimplifyDemandedVectorElts(
KnownUndef.setAllBits();
return false;
}
+ if (peekThroughFreeze(Op).isUndef())
+ return false;
----------------
phoebewang wrote:
I mean why don't change line 3234 directly like other cases?
https://github.com/llvm/llvm-project/pull/200931
More information about the llvm-commits
mailing list