llvm-capstone/clang
Luke Lau 2c60d59864
[Flang] Support -mrvv-vector-bits flag (#77588)
This patch adds support for the -mrvv-vector-bits flag in the Flang
driver, and
translates them to -mvscale-min/-mvscale-max.

The code was copied from the Clang toolchain (similarly to what was done
for
AArch64's -msve-vector-bits flag) so it also supports the same
-mrvv-vector-bits=zvl mode.

Note that Flang doesn't yet define the __riscv_v_fixed_vlen macro, so
the help
text has been updated to highlight that it's only defined for Clang.
2024-01-11 00:37:01 +07:00
..
bindings [libclang/python] Fix some minor typos (#74292) 2023-12-14 16:25:03 -05:00
cmake Revert "[CMake] Include riscv32-unknown-elf runtimes in Fuchsia toolchain (#76849)" 2024-01-08 03:29:30 +00:00
docs [clang][coverage] Fix "if constexpr" and "if consteval" coverage report (#77214) 2024-01-10 11:01:23 +01:00
examples
include [Flang] Support -mrvv-vector-bits flag (#77588) 2024-01-11 00:37:01 +07:00
lib [Flang] Support -mrvv-vector-bits flag (#77588) 2024-01-11 00:37:01 +07:00
runtime
test [Clang][LLVM][AArch64]SVE2.1 update the intrinsics according to acle[1] (#76844) 2024-01-10 17:12:14 +00:00
tools [emacs] Fix Emacs library formatting (#76110) 2024-01-10 13:14:21 +01:00
unittests [clang-format][NFC] Don't use clang-format style in config files 2024-01-10 00:58:35 -08:00
utils [Clang][SME] Add IsStreamingOrSVE2p1 (#76975) 2024-01-05 09:55:50 +00:00
www [clang] Add tests for CWG1800-1804 (#77509) 2024-01-10 12:51:04 +04:00
.clang-format
.clang-tidy
.gitignore
CMakeLists.txt [CMake] Move check for dlfcn.h and dladdr to clang (#76163) 2023-12-22 08:12:19 -05:00
CodeOwners.rst
INSTALL.txt
LICENSE.TXT
NOTES.txt
README.txt

//===----------------------------------------------------------------------===//
// C Language Family Front-end
//===----------------------------------------------------------------------===//

Welcome to Clang.  This is a compiler front-end for the C family of languages
(C, C++, Objective-C, and Objective-C++) which is built as part of the LLVM
compiler infrastructure project.

Unlike many other compiler frontends, Clang is useful for a number of things
beyond just compiling code: we intend for Clang to be host to a number of
different source-level tools.  One example of this is the Clang Static Analyzer.

If you're interested in more (including how to build Clang) it is best to read
the relevant web sites.  Here are some pointers:

Information on Clang:             http://clang.llvm.org/
Building and using Clang:         http://clang.llvm.org/get_started.html
Clang Static Analyzer:            http://clang-analyzer.llvm.org/
Information on the LLVM project:  http://llvm.org/

If you have questions or comments about Clang, a great place to discuss them is
on the Clang forums:
  https://discourse.llvm.org/c/clang/

If you find a bug in Clang, please file it in the LLVM bug tracker:
  http://llvm.org/bugs/