| commit | ca4df68aaa8243f202a643f4f172fe2f5bceaf71 | [log] [tgz] | 
|---|---|---|
| author | Thurston Dang <thurston@google.com> | Mon Oct 20 21:51:30 2025 +0000 | 
| committer | GitHub <noreply@github.com> | Mon Oct 20 14:51:30 2025 -0700 | 
| tree | 5d812e4b1f1ac374ace371ec53f1c69ffc2672f0 | |
| parent | 35b9f204490cd0101100878effe05ef5116b3099 [diff] | 
[msan][test] Add tests for target("aarch64.svcount") (#164315)
target("aarch64.svcount") is not properly supported by MSan, and will
lead to a crash:
```
fatal error: error in backend: Cannot implicitly convert a scalable size to a fixed-width size in `TypeSize::operator ScalarTy()`
```
This commit adds two test cases: a full test case for tracking any
future improvements to the instrumentation (and also showing the crash),
and a manually reduced test case to show the crash.
Forked from llvm/test/CodeGen/AArch64/sme-aarch64-svcount.llWelcome 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.
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.
Join the LLVM Discourse forums, Discord chat, LLVM Office Hours or Regular sync-ups.
The LLVM project has adopted a code of conduct for participants to all modes of communication within the project.