diff options
| author | niqiangpro-cell <ni.qiang.pro@gmail.com> | 2026-02-01 13:56:41 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-01 12:56:41 +0000 |
| commit | 603b625b213e2932f08c61e869af50a6e966ea71 (patch) | |
| tree | 135c42d6e386501f0e58749a1bf63cf64756ac63 /libc/test/src/wchar/wcstod_test.cpp | |
| parent | d1e477b00b49c63ff4dd513eeb14a5b18bc055d7 (diff) | |
| download | llvm-main.zip llvm-main.tar.gz llvm-main.tar.bz2 | |
[Analysis] Add Intrinsics::CLMUL case to cost calculations to getIntrinsicInstrCost / getTypeBasedIntrinsicInstrCost (#176552)HEADmain
This patch adds a case in getIntrinsicInstrCost and
getTypeBasedIntrinsicInstrCost in
llvm/include/llvm/CodeGen/BasicTTIImpl.h for Intrinsic::clmul. This
patch uses TLI->isOperationLegalOrCustom to check if the instruction is
cheap. If not cheap, it sums up the cost of the arithmetic operations
(AND, SHIFT, XOR) multiplied by the bit width.
Fixes #176354
Diffstat (limited to 'libc/test/src/wchar/wcstod_test.cpp')
0 files changed, 0 insertions, 0 deletions
