[X86][SSE] Improve ISD::FP_TO_*INT_SAT vector lowering
| 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.
Hi!
This issue may be a good introductory issue for people new to working on LLVM. If you would like to work on this issue, your first steps are:
- Assign the issue to you.
- Fix the issue locally.
- Run the test suite locally.
3.1) Remember that the subdirectories under
test/create fine-grained testing targets, so you can e.g. usemake check-clang-astto only run Clang's AST tests. - Create a
gitcommit - Run
git clang-format HEAD~1to format your changes. - Submit the patch to Phabricator. 6.1) Detailed instructions can be found here
For more instructions on how to submit a patch to LLVM, see our documentation.
If you have any further questions about this issue, don't hesitate to ask via a comment on this Github issue.
@llvm/issue-subscribers-good-first-issue
Candidate Patch: https://reviews.llvm.org/D150372
Candidate Patch: https://reviews.llvm.org/D150372
@e-kud Do you intend to resurrect this patch or might somebody else continue it?
@RKSimon let me prioritize this issue. I remember there were two problems: 1) not all fptosi+min+max can be combined into fptosi_sat but they should be 2) one of fp-int type combination wasn't convenient to support. I've tried to fix them both at once, that's why it has been stuck. I'll concentrate on fptosi_sat exclusively.
Hi, I would love to work on this issue
Hi, can i start work on this issue?
Pls review pull request: https://github.com/llvm/llvm-project/pull/199416
i am a new contributor.. i wanna work on this issue.
@sangam151 fyi I have already pr for it. Friendly info