[clang] [X86] Finely handle target of __builtin_ia32_cmp[p|s][s|d] from avx into sse/sse2/avx (PR #84136)
Shengchen Kan via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 6 17:01:12 PST 2024
================
@@ -2613,6 +2614,24 @@ void CGBuilderInserter::InsertHelper(
// called function.
void CodeGenFunction::checkTargetFeatures(const CallExpr *E,
const FunctionDecl *TargetDecl) {
+ // SemaCheking cannot handle below x86 builtins because they have different
+ // parameter ranges with different TargetAttribute of caller.
----------------
KanRobert wrote:
This is the behavior. But why?
https://github.com/llvm/llvm-project/pull/84136
More information about the cfe-commits
mailing list