llvm with tablegen backend for capstone disassembler
Go to file
OCHyams 9391177cbc [Assignment Tracking] Check getTypeSizeInBits result for scalable vector types
Without this patch, in `getAssignmentInfo` the result of `getTypeSizeInBits` is
cast to `uint64_t`, which a) is an operation that will eventually be
unsupported by the API according to the comments, and b) causes an assertion
failure if the type is a scalable vector. Don't cast the `TypeSize` to
`uint64_t` and check `isScalable` before getting the fixed size.

This can result in incorrect variable locations, see llvm.org/PR62346 (but is
better than crashing).

Reviewed By: paulwalker-arm

Differential Revision: https://reviews.llvm.org/D149137
2023-04-28 09:10:38 +01:00
.github workflows/release-binaries: Install missing dependencies 2023-04-20 08:21:53 -07:00
bolt [BOLT] Parallelize legacy profile merging 2023-04-27 15:37:14 +09:00
clang [flang][driver] Allow main program to be in an archive 2023-04-28 09:53:25 +08:00
clang-tools-extra [clangd] Fix the include-cleaner-batch-fix.test failure on some 2023-04-27 14:59:37 +02:00
cmake Revert "[CMake] Unify llvm_check_linker_flag and llvm_check_compiler_linker_flag" 2023-03-28 08:28:17 +00:00
compiler-rt [NFC][HWASAN] Use named const instead of 0xf 2023-04-28 00:44:55 -07:00
cross-project-tests [Dexter] Add timeout options 2023-03-22 13:50:00 +00:00
flang [flang][openacc] Generate acc.bound op when local array is passed without subscript 2023-04-27 21:03:52 -07:00
libc [libc] Implement exit for the GPU partially 2023-04-27 20:32:00 -05:00
libclc Revert "Revert "Revert "[CMake] Bumps minimum version to 3.20.0.""" 2023-04-15 20:12:24 +02:00
libcxx Fix EBO on std::optional and std::variant when targeting the MSVC ABI 2023-04-27 21:04:04 -04:00
libcxxabi [libcxx] [test] Prepend to PATH instead of overriding it 2023-04-27 19:25:59 +03:00
libunwind [libcxx] [test] Prepend to PATH instead of overriding it 2023-04-27 19:25:59 +03:00
lld [lld][ELF] Support relocations R_AVR_LO8_LDI_GS/R_AVR_HI8_LDI_GS 2023-04-28 11:42:06 +08:00
lldb Make the TSan report capture data structure anonymous. 2023-04-27 17:36:31 -07:00
llvm [Assignment Tracking] Check getTypeSizeInBits result for scalable vector types 2023-04-28 09:10:38 +01:00
llvm-libgcc Revert "Revert "Revert "[CMake] Bumps minimum version to 3.20.0.""" 2023-04-15 20:12:24 +02:00
mlir [mlir][tensor] Add transform to make tensor.pad loop-independent 2023-04-28 11:46:32 +09:00
openmp Disable private mapping test for AMD GPU due to intermittent fails. 2023-04-25 10:20:30 -04:00
polly [Polly] Update polly test after SCEV changes 2023-04-27 16:09:08 +02:00
pstl Revert "Revert "Revert "[CMake] Bumps minimum version to 3.20.0.""" 2023-04-15 20:12:24 +02:00
runtimes Revert "Revert "Revert "[CMake] Bumps minimum version to 3.20.0.""" 2023-04-15 20:12:24 +02:00
third-party Remove an extra // in the IWYU pragma for gtest-matchers.h 2023-03-14 13:11:53 +01:00
utils [mlir][tensor] Add transform to make tensor.pad loop-independent 2023-04-28 11:46:32 +09:00
.arcconfig
.arclint
.clang-format
.clang-tidy Add -misc-const-correctness to .clang-tidy 2022-08-08 13:00:52 -07:00
.git-blame-ignore-revs Add __config formatting to .git-blame-ignore-revs 2022-06-14 09:52:49 -04:00
.gitignore [llvm] Ignore .rej files in .gitignore 2022-04-28 08:44:51 -07:00
.mailmap Add entry to mailmap 2023-04-25 23:15:07 -07:00
CONTRIBUTING.md Added instruction to join the llvm discourse and discord group. 2023-03-27 17:02:07 -07:00
LICENSE.TXT [docs] Add LICENSE.txt to the root of the mono-repo 2022-08-24 09:35:00 +02:00
README.md [docs] Update README and GettingStarted 2023-03-08 12:55:59 -08:00
SECURITY.md

The LLVM Compiler Infrastructure

Welcome to the LLVM project!

This repository contains the source code for LLVM, a toolkit for the construction of highly optimized compilers, optimizers, and run-time environments.

The LLVM project has multiple components. The core of the project is itself called "LLVM". This contains all of the tools, libraries, and header files needed to process intermediate representations and convert them into object files. Tools include an assembler, disassembler, bitcode analyzer, and bitcode optimizer.

C-like languages use the Clang frontend. This component compiles C, C++, Objective-C, and Objective-C++ code into LLVM bitcode -- and from there into object files, using LLVM.

Other components include: the libc++ C++ standard library, the LLD linker, and more.

Getting the Source Code and Building LLVM

Consult the Getting Started with LLVM page for information on building and running LLVM.

For information on how to contribute to the LLVM project, please take a look at the Contributing to LLVM guide.

Getting in touch

Join the LLVM Discourse forums, Discord chat, or #llvm IRC channel on OFTC.

The LLVM project has adopted a code of conduct for participants to all modes of communication within the project.