[llvm] [DAGCombiner] Remove a hasOneUse check in visitAND (PR #115142)

Paul Walker via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 7 08:38:10 PST 2024


https://github.com/paulwalker-arm approved this pull request.

FYI: Not affected by this PR but I think the original transformation might have a bug because when promoting the any-extend to zero-extend, I think passthru should also be explicitly zero-extended.

I'm not 100% sure because an equally valid interpretation would be for users of passthru to apply the extension type.

My guess is with most all uses being either undef or zero this isn't actually affects us yet.

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


More information about the llvm-commits mailing list