[clang] [clang][x86] Support -masm=intel in cpuid.h (PR #127331)

2025-02-25 Thread Abhishek Kaushik via cfe-commits
https://github.com/abhishek-kaushik22 closed https://github.com/llvm/llvm-project/pull/127331 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang]Throw frontend error for target feature mismatch when using `flatten` attribute (PR #150044)

2025-07-23 Thread Abhishek Kaushik via cfe-commits
@@ -5232,9 +5232,11 @@ RValue CodeGenFunction::EmitCall(const CGFunctionInfo &CallInfo, // since otherwise we could be making a conditional call after a check for // the proper cpu features (and it won't cause code generation issues due to // function based code g

[clang] [Clang]Throw frontend error for target feature mismatch when using `flatten` attribute (PR #150044)

2025-07-23 Thread Abhishek Kaushik via cfe-commits
@@ -0,0 +1,12 @@ +// RUN: %clang_cc1 %s -triple=x86_64-linux-gnu -S -verify -o - + +typedef double __v2df __attribute__((__vector_size__(16))); + +__v2df __attribute__((target("sse4.1"))) foo() { +__v2df v = {0.0, 0.0}; +return __builtin_ia32_roundpd(v, 2); +} + +__v2df __

[clang] [Clang]Throw frontend error for target feature mismatch when using `flatten` attribute (PR #150044)

2025-07-22 Thread Abhishek Kaushik via cfe-commits
https://github.com/abhishek-kaushik22 created https://github.com/llvm/llvm-project/pull/150044 Fixes #149866 >From 480f5521ff5f0767ea295ef61a054f35961be3b0 Mon Sep 17 00:00:00 2001 From: Abhishek Kaushik Date: Tue, 22 Jul 2025 21:03:17 +0530 Subject: [PATCH] [Clang]Throw frontend error for tar

[clang] [Clang]Throw frontend error for target feature mismatch when using `flatten` attribute (PR #150044)

2025-07-22 Thread Abhishek Kaushik via cfe-commits
abhishek-kaushik22 wrote: @topperc can you please review since you've review similar commits in the past? https://github.com/llvm/llvm-project/pull/150044 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/li

[clang] [Clang]Throw frontend error for target feature mismatch when using `flatten` attribute (PR #150044)

2025-08-10 Thread Abhishek Kaushik via cfe-commits
https://github.com/abhishek-kaushik22 updated https://github.com/llvm/llvm-project/pull/150044 >From 480f5521ff5f0767ea295ef61a054f35961be3b0 Mon Sep 17 00:00:00 2001 From: Abhishek Kaushik Date: Tue, 22 Jul 2025 21:03:17 +0530 Subject: [PATCH 1/2] [Clang]Throw frontend error for target feature

[clang] [Clang]Throw frontend error for target feature mismatch when using `flatten` attribute (PR #150044)

2025-08-10 Thread Abhishek Kaushik via cfe-commits
@@ -5232,9 +5232,11 @@ RValue CodeGenFunction::EmitCall(const CGFunctionInfo &CallInfo, // since otherwise we could be making a conditional call after a check for // the proper cpu features (and it won't cause code generation issues due to // function based code g

[clang] [Clang]Throw frontend error for target feature mismatch when using `flatten` attribute (PR #150044)

2025-08-10 Thread Abhishek Kaushik via cfe-commits
abhishek-kaushik22 wrote: @efriedma-quic can you please review again? https://github.com/llvm/llvm-project/pull/150044 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang]Throw frontend error for target feature mismatch when using `flatten` attribute (PR #150044)

2025-08-10 Thread Abhishek Kaushik via cfe-commits
https://github.com/abhishek-kaushik22 updated https://github.com/llvm/llvm-project/pull/150044 >From 480f5521ff5f0767ea295ef61a054f35961be3b0 Mon Sep 17 00:00:00 2001 From: Abhishek Kaushik Date: Tue, 22 Jul 2025 21:03:17 +0530 Subject: [PATCH] [Clang]Throw frontend error for target feature mis