LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 52581 - [X86][SSE] Improve ISD::FP_TO_*INT_SAT vector lowering
Summary: [X86][SSE] Improve ISD::FP_TO_*INT_SAT vector lowering
Status: NEW
Alias: None
Product: libraries
Classification: Unclassified
Component: Backend: X86 (show other bugs)
Version: trunk
Hardware: PC Windows NT
: P enhancement
Assignee: Unassigned LLVM Bugs
URL:
Keywords: beginner
Depends on:
Blocks:
 
Reported: 2021-11-22 09:10 PST by Simon Pilgrim
Modified: 2021-11-23 00:51 PST (History)
6 users (show)

See Also:
Fixed By Commit(s):


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Pilgrim 2021-11-22 09:10:34 PST
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.