Issue 239963
Summary [X86] Use AVX512 BROADCAST from GPR to materialize uniform vector constants
Labels backend:X86
Assignees
Reporter RKSimon
    AVX512F provides VPBROADCASTD/Q and AVX512BW provides VPBROADCASTB/W  - FP constants could be handled from bitcast integers. If we don't have VLX we'd need to always broadcast to ZMM.

We might be better off attempting other vector only patterns first, to avoid GPR->FPU traffic - much of it depends on how much register pressure we have.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to