[clang] [llvm] Fix/172072 auto function param (PR #172092)

2025-12-16 Thread Priyanshu Singh via cfe-commits
https://github.com/dev-priyanshu15 updated https://github.com/llvm/llvm-project/pull/172092 >From e4b8541ab405bf31e5f49bfd0a1c43134f5df39c Mon Sep 17 00:00:00 2001 From: spriyanshucoder Date: Sat, 13 Dec 2025 03:31:19 +0530 Subject: [PATCH 1/3] [clang][libclang] Fix auto function parameter type

[clang] Fix/172104 clang cl simd intrinsics (PR #172116)

2025-12-16 Thread Priyanshu Singh via cfe-commits
https://github.com/dev-priyanshu15 updated https://github.com/llvm/llvm-project/pull/172116 >From c688d6408e159149abd067ed3fcf963c95f3d387 Mon Sep 17 00:00:00 2001 From: spriyanshucoder Date: Mon, 15 Dec 2025 00:51:57 +0530 Subject: [PATCH] [clang] Enable SSE4.1 intrinsics for Windows MSVC targ

[clang] [flang] [llvm] Fix/172049 loop vectorize sigfpe (PR #172094)

2025-12-16 Thread Priyanshu Singh via cfe-commits
https://github.com/dev-priyanshu15 updated https://github.com/llvm/llvm-project/pull/172094 >From 5bc0f4afb423c085addebd009aaff9c8733b3931 Mon Sep 17 00:00:00 2001 From: spriyanshucoder Date: Sat, 13 Dec 2025 02:50:35 +0530 Subject: [PATCH 1/3] [flang][OpenMP] Fix regression in OpenMP master re

[clang] [flang] [llvm] Fix/172049 loop vectorize sigfpe (PR #172094)

2025-12-16 Thread Priyanshu Singh via cfe-commits
https://github.com/dev-priyanshu15 updated https://github.com/llvm/llvm-project/pull/172094 >From 5bc0f4afb423c085addebd009aaff9c8733b3931 Mon Sep 17 00:00:00 2001 From: spriyanshucoder Date: Sat, 13 Dec 2025 02:50:35 +0530 Subject: [PATCH 1/3] [flang][OpenMP] Fix regression in OpenMP master re

[clang] Fix/172104 clang cl simd intrinsics (PR #172116)

2025-12-16 Thread Priyanshu Singh via cfe-commits
https://github.com/dev-priyanshu15 updated https://github.com/llvm/llvm-project/pull/172116 >From c688d6408e159149abd067ed3fcf963c95f3d387 Mon Sep 17 00:00:00 2001 From: spriyanshucoder Date: Mon, 15 Dec 2025 00:51:57 +0530 Subject: [PATCH] [clang] Enable SSE4.1 intrinsics for Windows MSVC targ

[clang] Fix/172104 clang cl simd intrinsics (PR #172116)

2025-12-14 Thread Priyanshu Singh via cfe-commits
https://github.com/dev-priyanshu15 updated https://github.com/llvm/llvm-project/pull/172116 >From c688d6408e159149abd067ed3fcf963c95f3d387 Mon Sep 17 00:00:00 2001 From: spriyanshucoder Date: Mon, 15 Dec 2025 00:51:57 +0530 Subject: [PATCH] [clang] Enable SSE4.1 intrinsics for Windows MSVC targ

[clang] Fix/172104 clang cl simd intrinsics (PR #172116)

2025-12-14 Thread Priyanshu Singh via cfe-commits
https://github.com/dev-priyanshu15 updated https://github.com/llvm/llvm-project/pull/172116 >From c688d6408e159149abd067ed3fcf963c95f3d387 Mon Sep 17 00:00:00 2001 From: spriyanshucoder Date: Mon, 15 Dec 2025 00:51:57 +0530 Subject: [PATCH] [clang] Enable SSE4.1 intrinsics for Windows MSVC targ

[clang] [llvm] Fix/172104 clang cl simd intrinsics (PR #172116)

2025-12-14 Thread Priyanshu Singh via cfe-commits
https://github.com/dev-priyanshu15 updated https://github.com/llvm/llvm-project/pull/172116 >From 4d15af1f63bf72dcedd4ff18b9c9a63cf3e7c7e6 Mon Sep 17 00:00:00 2001 From: spriyanshucoder Date: Sat, 13 Dec 2025 03:50:18 +0530 Subject: [PATCH 1/2] [LLVM][LoopVectorize] Fix SIGFPE crash in getPred

[clang] [llvm] Fix/172072 auto function param (PR #172092)

2025-12-14 Thread Priyanshu Singh via cfe-commits
https://github.com/dev-priyanshu15 updated https://github.com/llvm/llvm-project/pull/172092 >From e4b8541ab405bf31e5f49bfd0a1c43134f5df39c Mon Sep 17 00:00:00 2001 From: spriyanshucoder Date: Sat, 13 Dec 2025 03:31:19 +0530 Subject: [PATCH 1/3] [clang][libclang] Fix auto function parameter type

[clang] [flang] [llvm] Fix/172049 loop vectorize sigfpe (PR #172094)

2025-12-14 Thread Priyanshu Singh via cfe-commits
https://github.com/dev-priyanshu15 updated https://github.com/llvm/llvm-project/pull/172094 >From 5bc0f4afb423c085addebd009aaff9c8733b3931 Mon Sep 17 00:00:00 2001 From: spriyanshucoder Date: Sat, 13 Dec 2025 02:50:35 +0530 Subject: [PATCH 1/3] [flang][OpenMP] Fix regression in OpenMP master re

[clang] [flang] [llvm] Fix/172049 loop vectorize sigfpe (PR #172094)

2025-12-14 Thread Priyanshu Singh via cfe-commits
@@ -2907,6 +2907,10 @@ uint64_t LoopVectorizationCostModel::getPredBlockCostDivisor( uint64_t BBFreq = getBFI().getBlockFreq(BB).getFrequency(); assert(HeaderFreq >= BBFreq && "Header has smaller block freq than dominated BB?"); + // Guard against division by zer

[clang] [llvm] Fix/172072 auto function param (PR #172092)

2025-12-14 Thread Priyanshu Singh via cfe-commits
https://github.com/dev-priyanshu15 updated https://github.com/llvm/llvm-project/pull/172092 >From e4b8541ab405bf31e5f49bfd0a1c43134f5df39c Mon Sep 17 00:00:00 2001 From: spriyanshucoder Date: Sat, 13 Dec 2025 03:31:19 +0530 Subject: [PATCH 1/3] [clang][libclang] Fix auto function parameter type

[clang] Fix/172072 auto function param (PR #172092)

2025-12-14 Thread Priyanshu Singh via cfe-commits
https://github.com/dev-priyanshu15 updated https://github.com/llvm/llvm-project/pull/172092 >From e4b8541ab405bf31e5f49bfd0a1c43134f5df39c Mon Sep 17 00:00:00 2001 From: spriyanshucoder Date: Sat, 13 Dec 2025 03:31:19 +0530 Subject: [PATCH 1/2] [clang][libclang] Fix auto function parameter type

[clang] Fix/172072 auto function param (PR #172092)

2025-12-14 Thread Priyanshu Singh via cfe-commits
dev-priyanshu15 wrote: Thanks for the review feedback. I've fixed the issue fully in CXType.cpp by treating any implicit TemplateTypeParmType as CXType_Auto, which correctly handles both unconstrained auto (e.g., `auto p`) and constrained auto (e.g., `Integral auto q`). I've also added Index

[clang] Fix/172072 auto function param (PR #172092)

2025-12-14 Thread Priyanshu Singh via cfe-commits
https://github.com/dev-priyanshu15 updated https://github.com/llvm/llvm-project/pull/172092 >From e4b8541ab405bf31e5f49bfd0a1c43134f5df39c Mon Sep 17 00:00:00 2001 From: spriyanshucoder Date: Sat, 13 Dec 2025 03:31:19 +0530 Subject: [PATCH 1/2] [clang][libclang] Fix auto function parameter type

[clang] [flang] [llvm] Fix/172049 loop vectorize sigfpe (PR #172094)

2025-12-13 Thread Priyanshu Singh via cfe-commits
https://github.com/dev-priyanshu15 updated https://github.com/llvm/llvm-project/pull/172094 >From 5bc0f4afb423c085addebd009aaff9c8733b3931 Mon Sep 17 00:00:00 2001 From: spriyanshucoder Date: Sat, 13 Dec 2025 02:50:35 +0530 Subject: [PATCH 1/3] [flang][OpenMP] Fix regression in OpenMP master re

[clang] Fix/172072 auto function param (PR #172092)

2025-12-13 Thread Priyanshu Singh via cfe-commits
https://github.com/dev-priyanshu15 updated https://github.com/llvm/llvm-project/pull/172092 >From e4b8541ab405bf31e5f49bfd0a1c43134f5df39c Mon Sep 17 00:00:00 2001 From: spriyanshucoder Date: Sat, 13 Dec 2025 03:31:19 +0530 Subject: [PATCH] [clang][libclang] Fix auto function parameter type rep

[clang] [flang] [llvm] Fix/172049 loop vectorize sigfpe (PR #172094)

2025-12-13 Thread Priyanshu Singh via cfe-commits
https://github.com/dev-priyanshu15 updated https://github.com/llvm/llvm-project/pull/172094 >From 5bc0f4afb423c085addebd009aaff9c8733b3931 Mon Sep 17 00:00:00 2001 From: spriyanshucoder Date: Sat, 13 Dec 2025 02:50:35 +0530 Subject: [PATCH 1/3] [flang][OpenMP] Fix regression in OpenMP master re

[clang] Fix/172072 auto function param (PR #172092)

2025-12-13 Thread Priyanshu Singh via cfe-commits
dev-priyanshu15 wrote: Thanks @Serafean and @clementval. I've removed the Flang changes and updated the fix using your approach from CXType.cpp. The improved commit has been force-pushed. https://github.com/llvm/llvm-project/pull/172092 ___ cfe-commi

[clang] Fix/172072 auto function param (PR #172092)

2025-12-13 Thread Priyanshu Singh via cfe-commits
https://github.com/dev-priyanshu15 updated https://github.com/llvm/llvm-project/pull/172092 >From e4b8541ab405bf31e5f49bfd0a1c43134f5df39c Mon Sep 17 00:00:00 2001 From: spriyanshucoder Date: Sat, 13 Dec 2025 03:31:19 +0530 Subject: [PATCH] [clang][libclang] Fix auto function parameter type rep

[clang] Fix/172072 auto function param (PR #172092)

2025-12-13 Thread Priyanshu Singh via cfe-commits
https://github.com/dev-priyanshu15 updated https://github.com/llvm/llvm-project/pull/172092 >From e4b8541ab405bf31e5f49bfd0a1c43134f5df39c Mon Sep 17 00:00:00 2001 From: spriyanshucoder Date: Sat, 13 Dec 2025 03:31:19 +0530 Subject: [PATCH] [clang][libclang] Fix auto function parameter type rep

[clang] [flang] Fix/172072 auto function param (PR #172092)

2025-12-13 Thread Priyanshu Singh via cfe-commits
https://github.com/dev-priyanshu15 updated https://github.com/llvm/llvm-project/pull/172092 >From 5bc0f4afb423c085addebd009aaff9c8733b3931 Mon Sep 17 00:00:00 2001 From: spriyanshucoder Date: Sat, 13 Dec 2025 02:50:35 +0530 Subject: [PATCH 1/2] [flang][OpenMP] Fix regression in OpenMP master re

[clang] [flang] [llvm] Fix/172049 loop vectorize sigfpe (PR #172094)

2025-12-13 Thread Priyanshu Singh via cfe-commits
https://github.com/dev-priyanshu15 updated https://github.com/llvm/llvm-project/pull/172094 >From 5bc0f4afb423c085addebd009aaff9c8733b3931 Mon Sep 17 00:00:00 2001 From: spriyanshucoder Date: Sat, 13 Dec 2025 02:50:35 +0530 Subject: [PATCH 1/3] [flang][OpenMP] Fix regression in OpenMP master re

[clang] [llvm] Fix/172104 clang cl simd intrinsics (PR #172116)

2025-12-13 Thread Priyanshu Singh via cfe-commits
https://github.com/dev-priyanshu15 updated https://github.com/llvm/llvm-project/pull/172116 >From 4d15af1f63bf72dcedd4ff18b9c9a63cf3e7c7e6 Mon Sep 17 00:00:00 2001 From: spriyanshucoder Date: Sat, 13 Dec 2025 03:50:18 +0530 Subject: [PATCH 1/2] [LLVM][LoopVectorize] Fix SIGFPE crash in getPred

[clang] [llvm] Fix/172104 clang cl simd intrinsics (PR #172116)

2025-12-12 Thread Priyanshu Singh via cfe-commits
https://github.com/dev-priyanshu15 updated https://github.com/llvm/llvm-project/pull/172116 >From 4d15af1f63bf72dcedd4ff18b9c9a63cf3e7c7e6 Mon Sep 17 00:00:00 2001 From: spriyanshucoder Date: Sat, 13 Dec 2025 03:50:18 +0530 Subject: [PATCH 1/2] [LLVM][LoopVectorize] Fix SIGFPE crash in getPred

[clang] [llvm] Fix/172104 clang cl simd intrinsics (PR #172116)

2025-12-12 Thread Priyanshu Singh via cfe-commits
@@ -153,9 +153,13 @@ bool X86TargetInfo::initFeatureMap( llvm::StringMap &Features, DiagnosticsEngine &Diags, StringRef CPU, const std::vector &FeaturesVec) const { // FIXME: This *really* should not be here. - // X86_64 always has SSE2. - if (getTriple().getArch()

[clang] [llvm] Fix/172104 clang cl simd intrinsics (PR #172116)

2025-12-12 Thread Priyanshu Singh via cfe-commits
https://github.com/dev-priyanshu15 updated https://github.com/llvm/llvm-project/pull/172116 504 Gateway Time-out The server didn't respond in time. ___ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinf

[clang] [flang] [llvm] Fix/172049 loop vectorize sigfpe (PR #172094)

2025-12-12 Thread Priyanshu Singh via cfe-commits
https://github.com/dev-priyanshu15 updated https://github.com/llvm/llvm-project/pull/172094 >From 5bc0f4afb423c085addebd009aaff9c8733b3931 Mon Sep 17 00:00:00 2001 From: spriyanshucoder Date: Sat, 13 Dec 2025 02:50:35 +0530 Subject: [PATCH 1/3] [flang][OpenMP] Fix regression in OpenMP master re

[clang] [flang] Fix/172072 auto function param (PR #172092)

2025-12-12 Thread Priyanshu Singh via cfe-commits
https://github.com/dev-priyanshu15 updated https://github.com/llvm/llvm-project/pull/172092 >From 5bc0f4afb423c085addebd009aaff9c8733b3931 Mon Sep 17 00:00:00 2001 From: spriyanshucoder Date: Sat, 13 Dec 2025 02:50:35 +0530 Subject: [PATCH 1/2] [flang][OpenMP] Fix regression in OpenMP master re

[clang] [flang] Fix/172072 auto function param (PR #172092)

2025-12-12 Thread Priyanshu Singh via cfe-commits
https://github.com/dev-priyanshu15 created https://github.com/llvm/llvm-project/pull/172092 [clang][libclang] Fix auto function parameter type reporting When auto is used as a function parameter type, clang-c API was incorrectly reporting it as TypeRef with kind unexposed instead of reporting i