diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2024-05-03 18:06:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-03 18:06:50 +0100 |
commit | 8a0073ad4658033b6a4f6bae4fbaf924ac813bc6 (patch) | |
tree | 043622577ffaf8fff8e33bcc4d2d379328762ed8 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 3563af6c06ebc92bcaacef0e33285148ef0f75bd (diff) | |
download | llvm-8a0073ad4658033b6a4f6bae4fbaf924ac813bc6.zip llvm-8a0073ad4658033b6a4f6bae4fbaf924ac813bc6.tar.gz llvm-8a0073ad4658033b6a4f6bae4fbaf924ac813bc6.tar.bz2 |
[CostModel][X86] Treat lrint/llrint as fptosi calls (#90883)
X86 can use the CVTP2SI instructions to lower lrint/llrint calls, which have the same costs as the CVTTP2SI (fptosi) instructions
Followup to #90065
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions