llvm/llvm-project

[X86][SSE] Improve ISD::FP_TO_*INT_SAT vector lowering

Open

#51,923 opened on Nov 22, 2021

View on GitHub
 (7 comments) (0 reactions) (1 assignee)C++ (10,782 forks)batch import
backend:X86bugzillagood first issue

Repository metrics

Stars
 (26,378 stars)
PR merge metrics
 (Avg merge 1d 2h) (1,000 merged PRs in 30d)

Description

Bugzilla Link 52581
Version trunk
OS Windows NT
CC @topperc,@DMG862,@RKSimon,@phoebewang,@rotateright

Extended Description

https://gcc.godbolt.org/z/3q7KGs6h5

We currently scalarize these cases, but we should be able to make use of SSE behaviour for out-of-range integer results to keep these fully vectorized.

Contributor guide