llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
29.04k stars 11.98k forks source link

[X86] Missing vector support for ISD::FP_TO_SINT_SAT/FP_TO_UINT_SAT #64062

Closed RKSimon closed 1 year ago

RKSimon commented 1 year ago

As noted on https://reviews.llvm.org/D154841 we only have scalar support for FP_TO_SINT_SAT/FP_TO_UINT_SAT, although we should be able to use the CVTTPD2DQ/CVTTPS2DQ special cases in the same way that we do for scalars already.

llvmbot commented 1 year ago

@llvm/issue-subscribers-backend-x86

e-kud commented 1 year ago

There is already an issue for it: https://github.com/llvm/llvm-project/issues/51923 I have a draft for it https://reviews.llvm.org/D150372

RKSimon commented 1 year ago

Thanks @e-kud - looks like I've already reported this :)