[all-commits] [llvm/llvm-project] e84182: [X86][Inline] Skip inline asm in inlining target f...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Tue Mar 5 05:21:46 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e84182af919d136d74b75ded4d599b38fb47dfb0
https://github.com/llvm/llvm-project/commit/e84182af919d136d74b75ded4d599b38fb47dfb0
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-03-05 (Tue, 05 Mar 2024)
Changed paths:
M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
M llvm/test/Transforms/Inline/X86/call-abi-compatibility.ll
Log Message:
-----------
[X86][Inline] Skip inline asm in inlining target feature check (#83820)
When inlining across functions with different target features, we
perform roughly two checks:
1. The caller features must be a superset of the callee features.
2. Calls in the callee cannot use types where the target features would
change the call ABI (e.g. by changing whether something is passed in a
zmm or two ymm registers). The latter check is very crude right now.
The latter check currently also catches inline asm "calls". I believe
that inline asm should be excluded from this check, as it is independent
from the usual call ABI, and instead governed by the inline asm
constraint string.
Fixes https://github.com/llvm/llvm-project/issues/67054.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list