about summary refs log tree commit diff
path: root/tests/mir-opt/inline/inline_compatibility.rs
AgeCommit message (Collapse)AuthorLines
2025-08-18Remove the no_sanitize attribute in favor of sanitizeBastian Kersting-11/+11
This removes the #[no_sanitize] attribute, which was behind an unstable feature named no_sanitize. Instead, we introduce the sanitize attribute which is more powerful and allows to be extended in the future (instead of just focusing on turning sanitizers off). This also makes sanitize(kernel_address = ..) attribute work with -Zsanitize=address To do it the same as how clang disables address sanitizer, we now disable ASAN on sanitize(kernel_address = "off") and KASAN on sanitize(address = "off"). The same was added to clang in https://reviews.llvm.org/D44981.
2025-01-27Stabilize target_feature_11Caleb Zulawski-1/+0
2024-02-22[AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives许杰友 Jieyou Xu (Joe)-2/+2
2023-10-24Require target features to match exactly during inliningTomasz Miąsko-1/+1
In general it is not correct to inline a callee with a target features that are subset of the callee. Require target features to match exactly during inlining. The exact match could be potentially relaxed, but this would require identifying specific feature that are allowed to differ, those that need to match, and those that can be present in caller but not in callee. This resolves MIR part of #116573. For other concerns with respect to the previous implementation also see areInlineCompatible in LLVM.
2023-10-24Precommit target features compatibility testTomasz Miąsko-0/+8
2023-10-24Migrate inline_compatibility.rs test to FileCheckTomasz Miąsko-22/+34
2023-10-19Allow to run filecheck in mir-opt tests.Camille GILLOT-0/+1
2023-06-12properly mark tests that require panic=abortPietro Albini-0/+1
2023-03-02Revert "Stabilize `#![feature(target_feature_11)]`"Léo Lanteri Thauvin-0/+1
This reverts commit b379d216eefaba083a0627b1724d73f99d4bdf5c.
2023-02-01Stabilize `#![feature(target_feature_11)]`Léo Lanteri Thauvin-1/+0
2023-01-11Move /src/test to /testsAlbert Larsan-0/+55