arsenm wrote: Can this deal with sin/cos pairs, like div/rem are already handled? I assume the vectorizer can deal with making sure they're likely to be used in codegen https://github.com/llvm/llvm-project/pull/109825