https://github.com/davemgreen commented: It is a shame about using FP_TO_SI_SAT and it scalarizing as a result, but we will have to fix that separately in any case. Some of the tests are missing check lines, but otherwise I think this looks OK https://github.com/llvm/llvm-project/pull/89035