[clang] [CLANG] Fixes the issue with using bool in builtin_bswapg (PR #169285)

2025-12-04 Thread Ebin Jose via cfe-commits
ebinjose02 wrote: > It looks like this isn't merging cleanly; please update your branch. There were no conflicts showing up. Still I have updated the ticket. Thanks https://github.com/llvm/llvm-project/pull/169285 ___ cfe-commits mailing list cfe-comm

[clang] [CLANG] Fixes the issue with using bool in builtin_bswapg (PR #169285)

2025-12-04 Thread Ebin Jose via cfe-commits
https://github.com/ebinjose02 updated https://github.com/llvm/llvm-project/pull/169285 >From 4baf6aac54499c5fdbeab33a4dc956487b4b5c02 Mon Sep 17 00:00:00 2001 From: ebinjose02 Date: Mon, 24 Nov 2025 07:02:26 + Subject: [PATCH 1/2] Fixes #168690 Prevents assertion in CGBuiltin for i1 - retu

[clang] [CLANG] Fixes the crash on the use of nested requirements in require expressions (PR #169876)

2025-12-03 Thread Ebin Jose via cfe-commits
https://github.com/ebinjose02 updated https://github.com/llvm/llvm-project/pull/169876 >From af9b88da83a7f2954a3a8ddc5f4796f2017ceaec Mon Sep 17 00:00:00 2001 From: ebinjose02 Date: Fri, 28 Nov 2025 06:46:40 + Subject: [PATCH 1/3] Fixes #165386 Nested requirements in requires-expressions m

[clang] [CLANG] Fixes the crash on the use of nested requirements in require expressions (PR #169876)

2025-12-02 Thread Ebin Jose via cfe-commits
https://github.com/ebinjose02 updated https://github.com/llvm/llvm-project/pull/169876 >From af9b88da83a7f2954a3a8ddc5f4796f2017ceaec Mon Sep 17 00:00:00 2001 From: ebinjose02 Date: Fri, 28 Nov 2025 06:46:40 + Subject: [PATCH 1/3] Fixes #165386 Nested requirements in requires-expressions m

[clang] [CLANG] Fixes the issue with using bool in builtin_bswapg (PR #169285)

2025-12-01 Thread Ebin Jose via cfe-commits
https://github.com/ebinjose02 updated https://github.com/llvm/llvm-project/pull/169285 >From 4baf6aac54499c5fdbeab33a4dc956487b4b5c02 Mon Sep 17 00:00:00 2001 From: ebinjose02 Date: Mon, 24 Nov 2025 07:02:26 + Subject: [PATCH 1/2] Fixes #168690 Prevents assertion in CGBuiltin for i1 - retu

[clang] [CLANG] Fixes the issue with using bool in builtin_bswapg (PR #169285)

2025-12-01 Thread Ebin Jose via cfe-commits
@@ -0,0 +1,8 @@ +// RUN: %clang_cc1 -triple x86_64 -O0 -emit-llvm -o - %s | FileCheck %s +#include +bool test_bswapg(bool c) { + return __builtin_bswapg(c); ebinjose02 wrote: There is a testfile that check __builtin_bswapg along with other builtins (test/codeg

[clang] [CLANG] Fixes the crash on the use of nested requirements in require expressions (PR #169876)

2025-11-30 Thread Ebin Jose via cfe-commits
https://github.com/ebinjose02 updated https://github.com/llvm/llvm-project/pull/169876 >From af9b88da83a7f2954a3a8ddc5f4796f2017ceaec Mon Sep 17 00:00:00 2001 From: ebinjose02 Date: Fri, 28 Nov 2025 06:46:40 + Subject: [PATCH] Fixes #165386 Nested requirements in requires-expressions must

[clang] [CLANG] Fixes the issue with using bool in builtin_bswapg (PR #169285)

2025-11-30 Thread Ebin Jose via cfe-commits
https://github.com/ebinjose02 updated https://github.com/llvm/llvm-project/pull/169285 >From 4baf6aac54499c5fdbeab33a4dc956487b4b5c02 Mon Sep 17 00:00:00 2001 From: ebinjose02 Date: Mon, 24 Nov 2025 07:02:26 + Subject: [PATCH] Fixes #168690 Prevents assertion in CGBuiltin for i1 - returns

[clang] [CLANG] Fixes the crash on the use of nested requirements in require expressions (PR #169876)

2025-11-28 Thread Ebin Jose via cfe-commits
https://github.com/ebinjose02 updated https://github.com/llvm/llvm-project/pull/169876 >From d9bf88bc2ef7604e8b96bb5eb949281c31ce07e4 Mon Sep 17 00:00:00 2001 From: ebinjose02 Date: Fri, 28 Nov 2025 06:46:40 + Subject: [PATCH] Fixes #165386 Nested requirements in requires-expressions must

[clang] [CLANG] Fixes the crash on the use of nested requirements in require expressions (PR #169876)

2025-11-28 Thread Ebin Jose via cfe-commits
https://github.com/ebinjose02 created https://github.com/llvm/llvm-project/pull/169876 Fixes #165386 Nested requirements in requires-expressions must be constant expressions. Previously, using an invented parameter in a nested requirement caused a crash. Now emit a clear diagnostic and recover

[clang] [CLANG] Resolves crash on invalid loop vectorize_width (PR #169473)

2025-11-28 Thread Ebin Jose via cfe-commits
https://github.com/ebinjose02 updated https://github.com/llvm/llvm-project/pull/169473 >From 73761f8d62f505901eef4b845a98b1bc21ee Mon Sep 17 00:00:00 2001 From: ebinjose02 Date: Tue, 25 Nov 2025 08:54:39 + Subject: [PATCH 1/2] Fixes #166325 Diagnose malformed '#pragma clang loop vector

[clang] [CLANG] Resolves crash on invalid loop vectorize_width (PR #169473)

2025-11-28 Thread Ebin Jose via cfe-commits
https://github.com/ebinjose02 created https://github.com/llvm/llvm-project/pull/169473 Fixes #166325 Diagnose malformed '#pragma clang loop vectorize_width' lists. Avoids crash in HandlePragmaLoopHint, emit clear diagnostic and added regression test. >From 73761f8d62f505901eef4b845a98b1bc2

[clang] [CLANG] Fixes the issue with using bool in builtin_bswapg (PR #169285)

2025-11-28 Thread Ebin Jose via cfe-commits
https://github.com/ebinjose02 updated https://github.com/llvm/llvm-project/pull/169285 >From 8702e84f465feb7707225bbaf9c1d32d8bca1f44 Mon Sep 17 00:00:00 2001 From: ebinjose02 Date: Mon, 24 Nov 2025 07:02:26 + Subject: [PATCH] Fixes #168690 Prevents assertion in CGBuiltin for i1 - returns

[clang] [CLANG] Fixes the issue with using bool in builtin_bswapg (PR #169285)

2025-11-28 Thread Ebin Jose via cfe-commits
https://github.com/ebinjose02 updated https://github.com/llvm/llvm-project/pull/169285 >From e6c895d1d7684898da0c631fdf6aced542d175ed Mon Sep 17 00:00:00 2001 From: ebinjose02 Date: Mon, 24 Nov 2025 07:02:26 + Subject: [PATCH] Fixes #168690 Prevents assertion in CGBuiltin for i1 - returns

[clang] [CLANG] Fixes the issue with using bool in builtin_bswapg (PR #169285)

2025-11-28 Thread Ebin Jose via cfe-commits
https://github.com/ebinjose02 created https://github.com/llvm/llvm-project/pull/169285 Fixes #168690 Prevents assertion in CGBuiltin for i1 - returns identity. Created test file for the same. >From e6c895d1d7684898da0c631fdf6aced542d175ed Mon Sep 17 00:00:00 2001 From: ebinjose02 Date: Mon, 2