aboutsummaryrefslogtreecommitdiff
path: root/libc/test/src/termios
diff options
context:
space:
mode:
authorniqiangpro-cell <ni.qiang.pro@gmail.com>2026-02-01 13:56:41 +0100
committerGitHub <noreply@github.com>2026-02-01 12:56:41 +0000
commit603b625b213e2932f08c61e869af50a6e966ea71 (patch)
tree135c42d6e386501f0e58749a1bf63cf64756ac63 /libc/test/src/termios
parentd1e477b00b49c63ff4dd513eeb14a5b18bc055d7 (diff)
downloadllvm-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/termios')
0 files changed, 0 insertions, 0 deletions