llvm-project
05bbb947 - [X86] Relax AVX ABI warning on internal functions (#157570)

Commit
90 days ago
[X86] Relax AVX ABI warning on internal functions (#157570) Summary: The vector target should be able to handle vector sizes that are multiples of the native size, this is useful for implementing math routines that want to temporarily use a high precision for example. However, currently this will emit a warning on x86 if any function calls are involved. https://godbolt.org/z/dK7hGndYh. I believe that we should be able to relax the ABI restriction if the functions are completely internal and there were no explicitly states attributes to conflict. Because the ABI is not exported outside the TU we should be safe to assume that it won't bite us. In the case that one call has no features and other does, that will still cause an error. I may be wrong on this assumption however. Fixes: https://github.com/llvm/llvm-project/issues/128361
Author
Parents
Loading