I've looked into this a bit. The relevant bit is [here](https://github.com/xtensor-stack/xtensor/blob/master/include/xtensor/xassign.hpp#L453). It uses a runtime bool to test for linear assignment, and constexpr for whether to use simd assignment. So far, so good. We should still check if it actually does enter `linear_assign` sometimes.