[llvm] [DAG] foldABSToABD - support abs(*ext(x) - *ext(y)) -> zext(abd*(x, y)) from different extension source types (PR #71670)

David Green via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 13 14:09:27 PST 2023


davemgreen wrote:

> I'm happy to try that, I was being conservative as initially I only need to cover a few cases (it came up when looking at D152928) - maybe we just need a oneuse check?

Ah, is that where this came from. It looks like there might be an extra SVE tests that needs updating. With that this LGTM.

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


More information about the llvm-commits mailing list