[llvm] [X86][Inline] Skip inline asm in inlining target feature check (PR #83820)

Phoebe Wang via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 4 04:59:13 PST 2024


https://github.com/phoebewang approved this pull request.

I think we can always drop the second check. I assume if a callee calls something unmatching its feature, e.g., 512-bit vector with AVX2. User would have got a warning about ABI change. Such user scenario is not ABI compatible already. We should not care it at all. Passing 512-bit vector with AVX512 feature is guaranteed not split in two ymm registers. We should not worry about it's changed by inlining.

Anyway, inline asm never has such oversized argument problem. So I'm good to start from it.

https://github.com/llvm/llvm-project/pull/83820


More information about the llvm-commits mailing list