[all-commits] [llvm/llvm-project] 568415: [DAG] canCreateUndefOrPoison - add handling for CT...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Tue Jul 1 04:45:06 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 56841565db77af6eb668b59add3cb1d0f38875e8
https://github.com/llvm/llvm-project/commit/56841565db77af6eb668b59add3cb1d0f38875e8
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2025-07-01 (Tue, 01 Jul 2025)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
M llvm/test/CodeGen/X86/freeze-unary.ll
Log Message:
-----------
[DAG] canCreateUndefOrPoison - add handling for CTTZ/CTLZ_ZERO_UNDEF nodes (#146501)
CTTZ/CTLZ_ZERO_UNDEF nodes can only create poison if the source value is zero - so check with isKnownNeverZero
Pulled out of #146361 and reapplied now that #146490 has landed.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list