[InstCombine] Fix inversion of constants
`canFreelyInvertAllUsersOf()`, in general, does not make sense for constants, and constant expressions are likely even more problematic. For those, we just want to create a simple constant expression and be done. Fixes https://github.com/llvm/llvm-project/issues/59613
Loading
Please sign in to comment