[llvm] [SDAG][abd] Remove duplicate legality check (PR #181538)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 24 10:56:16 PDT 2026


================

----------------
RKSimon wrote:

I think the reason we kept this was to prevent these forming prior to the LegalOperations stage as the negation might not be cheap either - see the regressions with illegal types - what about if we just check for a legal type here?

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


More information about the llvm-commits mailing list