diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2021-07-06 17:27:46 +0100 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2021-07-06 17:28:03 +0100 |
commit | b298308ba2544a00c3e2ae0c1cc06fa058a4000c (patch) | |
tree | 660d56c4a85badedb73750d5200894b760d02e30 /llvm/lib/Transforms/Utils/LoopVersioning.cpp | |
parent | f1cbea3e527547fc08c55235c11970a8d9f2637e (diff) | |
download | llvm-b298308ba2544a00c3e2ae0c1cc06fa058a4000c.zip llvm-b298308ba2544a00c3e2ae0c1cc06fa058a4000c.tar.gz llvm-b298308ba2544a00c3e2ae0c1cc06fa058a4000c.tar.bz2 |
[CostModel][X86] fptosi/fptoui to i8/i16 are truncated from fptosi to i32
Provide a generic fallback that performs the fptosi to i32 types, then truncates to sub-i32 scalars.
These numbers can be tweaked for specific sse levels, but we should get the default handling in place first.
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopVersioning.cpp')
0 files changed, 0 insertions, 0 deletions