[llvm] Zext sext undef in sdag (PR #115451)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 10 18:53:37 PST 2024


topperc wrote:

This optimization is not correct for 'undef'. I think it would be correct for 'poison', but SelectionDAG doesn't have 'poison' today.

See also https://blog.regehr.org/archives/1837

https://github.com/llvm/llvm-project/pull/115451


More information about the llvm-commits mailing list