mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-26 13:26:08 +00:00

Traps will not read/write the program state but they need an effect for preservation, similar to `llvm.assume`. We really want a new memory kind for that (see TODO), but for now `inaccessiblemem: write` is better than any possible effect. Differential Revision: https://reviews.llvm.org/D156476
This directory contains test cases for individual source features of LLVM. It is designed to make sure that the major components of LLVM support all of the features of LLVM, for very small examples. Entire programs should not go here. Regression tests for individual bug fixes should go into the test/Regression dir.