[llvm] [SystemZ] Don't scalarize truncating vector fp to int conversions. (PR #205311)

Jonas Paulsson via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 26 00:23:28 PDT 2026


JonPsson1 wrote:

Added handling also for FP_TO_SINT conversions, which can actually be handled the same way as they are defined to be UB if the FP value doesn't fit.

Now a few more files affected (24 in total), but unfortunately it seems to give a 3% regression on x264. This is dissapointing as the vector loop was reduced to less than half in size (containing 4 VLs followed by 4 vector conversions now, instead of 16 scalar ones). There are some FPd involved in this test case, and now one more VFDDB was emitted - possibly these very slow and stalling instructions could play a role here. Investigation needed.



https://github.com/llvm/llvm-project/pull/205311


More information about the llvm-commits mailing list