Issue 86670
Summary [X86] X86FixupVectorConstants - load vector double data from i32/f32 constant
Labels backend:X86
Assignees
Reporter RKSimon
    We can halve the size of loaded vector double constant data by converting it from i32/f32 values with (V)CVT(U)DQ2PD/(V)CVTPS2PD, assuming the value is exactly representable as i32/f32. (V)CVTSI2SD/(V)CVTSS2SD could be possible as well.

This might need to be be target specific / scheduler driven as some cpus can be slow at the conversion.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to