about summary refs log tree commit diff
path: root/src/test/mir-opt/inline/inline-compatibility.rs
AgeCommit message (Collapse)AuthorLines
2022-11-02Ban dashes in miropt test file namesJakob Degen-55/+0
2020-11-12Never inline C variadic functionsTomasz Miąsko-0/+18
2020-11-12Never inline when `no_sanitize` attributes differTomasz Miąsko-3/+1
The inliner looks if a sanitizer is enabled before considering `no_sanitize` attribute as possible source of incompatibility. The MIR inlining could happen in a crate with sanitizer disabled, but code generation in a crate with sanitizer enabled, thus the attribute would be incorrectly ignored. To avoid the issue never inline functions with different `no_sanitize` attributes.
2020-09-04inliner: Add mir-opt tests for codegen attributes compatibilityTomasz Miąsko-0/+39