Brandon Wu 1fe27df5a9
[RISCV][llvm] Support mul codegen for P extension (#174793)
P extension doesn't have native support of mul low instruction which
aligns llvm's mul operation semantic. We use vnsrl(pwmul(a, b), 0) in
rv32 to emulate mul low and ppaire(pmul_b00(a, b), pmul_b11(a, b)) since
pwmul and pnsrl is only available in rv32.
2026-01-08 15:59:08 +08:00
..
2026-01-02 10:56:43 +00:00

The LLVM Compiler Infrastructure
================================

This directory and its subdirectories contain source code for LLVM,
a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the documentation provided in docs/ for further
assistance with LLVM, and in particular docs/GettingStarted.rst for getting
started with LLVM and docs/README.txt for an overview of LLVM's
documentation setup.

If you are writing a package for LLVM, see docs/Packaging.rst for our
suggestions.