michaelselehov wrote: I brought back the X86 urem test, as discussed above. It now has two RUN lines. On x86-64 the urem stays scalar with this patch: a vector urem has no cheap lowering there (cost 2000), and before this patch only the udiv in lane 0 made the whole vector free. On znver5 a vector urem is cheap (cost 8), so the bundle is vectorized before and after this patch.
https://github.com/llvm/llvm-project/pull/241758 _______________________________________________ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
