[clang] 1c91733 - Fix highlighting issue with _complex and initialization list with more than 2 items

2023-03-23 Thread NagaChaitanya Vellanki via cfe-commits
Author: NagaChaitanya Vellanki Date: 2023-03-23T14:18:02-07:00 New Revision: 1c9173365a932a0d289ec86704ec645a138de03e URL: https://github.com/llvm/llvm-project/commit/1c9173365a932a0d289ec86704ec645a138de03e DIFF: https://github.com/llvm/llvm-project/commit/1c9173365a932a0d289ec86704ec645a138de

[clang] c13ccf1 - [clang][ExtractAPI]Fix Declaration fragments for instancetype in the type position degrade to id

2023-03-23 Thread NagaChaitanya Vellanki via cfe-commits
Author: NagaChaitanya Vellanki Date: 2023-03-23T15:10:27-07:00 New Revision: c13ccf1fbabede34ff28461b29d2d14aceb293fd URL: https://github.com/llvm/llvm-project/commit/c13ccf1fbabede34ff28461b29d2d14aceb293fd DIFF: https://github.com/llvm/llvm-project/commit/c13ccf1fbabede34ff28461b29d2d14aceb29

[clang] a590d86 - [clang][ExtractAPI] Remove extra pointer indirection from declaration fragments for Obj-C lightweight generics on id

2023-03-30 Thread NagaChaitanya Vellanki via cfe-commits
Author: NagaChaitanya Vellanki Date: 2023-03-30T11:36:16-07:00 New Revision: a590d8634308aadc96e71c8dbbcbd4348f2efd1d URL: https://github.com/llvm/llvm-project/commit/a590d8634308aadc96e71c8dbbcbd4348f2efd1d DIFF: https://github.com/llvm/llvm-project/commit/a590d8634308aadc96e71c8dbbcbd4348f2ef

[clang-tools-extra] 785b30b - [clang-tidy] Check for specific return types on all functions

2023-05-26 Thread NagaChaitanya Vellanki via cfe-commits
Author: NagaChaitanya Vellanki Date: 2023-05-26T13:59:18-07:00 New Revision: 785b30b8a33a394a677b1b8ce35c66ba482db169 URL: https://github.com/llvm/llvm-project/commit/785b30b8a33a394a677b1b8ce35c66ba482db169 DIFF: https://github.com/llvm/llvm-project/commit/785b30b8a33a394a677b1b8ce35c66ba482db

[clang] 14805dc - [clang][ExtractAPI] Add semicolon to function declaration fragments

2023-05-04 Thread NagaChaitanya Vellanki via cfe-commits
Author: NagaChaitanya Vellanki Date: 2023-05-04T11:46:43-07:00 New Revision: 14805dcb0d8abfd5cd015656313f3f98a22e0a1b URL: https://github.com/llvm/llvm-project/commit/14805dcb0d8abfd5cd015656313f3f98a22e0a1b DIFF: https://github.com/llvm/llvm-project/commit/14805dcb0d8abfd5cd015656313f3f98a22e0

[clang-tools-extra] [clang-tidy] Add modernize-use-cpp-style-comments check (PR #99713)

2024-07-24 Thread NagaChaitanya Vellanki via cfe-commits
https://github.com/chaitanyav updated https://github.com/llvm/llvm-project/pull/99713 >From a3c7fca28faee679a59afd58c2e814025771ff63 Mon Sep 17 00:00:00 2001 From: NagaChaitanya Vellanki Date: Fri, 19 Jul 2024 14:26:23 -0700 Subject: [PATCH] [clang-tidy] Add modernize-use-cpp-style-comments che

[clang-tools-extra] [clang-tidy] Add modernize-use-cpp-style-comments check (PR #99713)

2024-07-29 Thread NagaChaitanya Vellanki via cfe-commits
chaitanyav wrote: I am moving this under readability, i will also post some code on how am i planning to output a fix. For now i don't have a good way to handle ``` int a = /*some value */ 5; ``` https://github.com/llvm/llvm-project/pull/99713 ___ c

[clang-tools-extra] [clang-tidy] (PR #99713)

2024-07-19 Thread NagaChaitanya Vellanki via cfe-commits
https://github.com/chaitanyav created https://github.com/llvm/llvm-project/pull/99713 modernize-use-cpp-style-comments check finds C style comments and suggests to use C++ style comments Fixes #24841 @LegalizeAdulthood @PiotrZSL ``` ~/scratch/llvm_test_ground/test1.cpp:1:1: warning:

[clang-tools-extra] [clang-tidy] (PR #99713)

2024-07-19 Thread NagaChaitanya Vellanki via cfe-commits
https://github.com/chaitanyav updated https://github.com/llvm/llvm-project/pull/99713 >From c8b8a13188cb941e08a6aae604bd79ae3469cf89 Mon Sep 17 00:00:00 2001 From: NagaChaitanya Vellanki Date: Fri, 19 Jul 2024 14:26:23 -0700 Subject: [PATCH] [clang-tidy] modernize-use-cpp-style-comments chec

[clang-tools-extra] [clang-tidy] (PR #99713)

2024-07-19 Thread NagaChaitanya Vellanki via cfe-commits
https://github.com/chaitanyav updated https://github.com/llvm/llvm-project/pull/99713 >From 0bee2b58078e616d7be558dd09db5ca3deef3f4c Mon Sep 17 00:00:00 2001 From: NagaChaitanya Vellanki Date: Fri, 19 Jul 2024 14:26:23 -0700 Subject: [PATCH] [clang-tidy] modernize-use-cpp-style-comments chec

[clang-tools-extra] [clang-tidy] (PR #99713)

2024-07-19 Thread NagaChaitanya Vellanki via cfe-commits
https://github.com/chaitanyav updated https://github.com/llvm/llvm-project/pull/99713 >From 2899eab6f5d9bbed72a20b8da9e01ebccf7b576c Mon Sep 17 00:00:00 2001 From: NagaChaitanya Vellanki Date: Fri, 19 Jul 2024 14:26:23 -0700 Subject: [PATCH] [clang-tidy] modernize-use-cpp-style-comments chec

[clang-tools-extra] [clang-tidy] Add modernize-use-cpp-style-comments check (PR #99713)

2024-07-19 Thread NagaChaitanya Vellanki via cfe-commits
https://github.com/chaitanyav edited https://github.com/llvm/llvm-project/pull/99713 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [clang-tidy] Add modernize-use-cpp-style-comments check (PR #99713)

2024-07-21 Thread NagaChaitanya Vellanki via cfe-commits
https://github.com/chaitanyav updated https://github.com/llvm/llvm-project/pull/99713 >From 2d45f8196e99c3b6f5a75db6e5e3df7ce1fd8aef Mon Sep 17 00:00:00 2001 From: NagaChaitanya Vellanki Date: Fri, 19 Jul 2024 14:26:23 -0700 Subject: [PATCH] [clang-tidy] Add modernize-use-cpp-style-comments che

[clang-tools-extra] [clang-tidy] Add modernize-use-cpp-style-comments check (PR #99713)

2024-07-21 Thread NagaChaitanya Vellanki via cfe-commits
https://github.com/chaitanyav updated https://github.com/llvm/llvm-project/pull/99713 >From 670bf7aa89e06c2aac03dead4b980a01fe0d9426 Mon Sep 17 00:00:00 2001 From: NagaChaitanya Vellanki Date: Fri, 19 Jul 2024 14:26:23 -0700 Subject: [PATCH] [clang-tidy] Add modernize-use-cpp-style-comments che

[clang] [clang-format] Fix for BreakTemplateDeclarations and RequiresClausePosition (PR #159277)

2025-09-17 Thread NagaChaitanya Vellanki via cfe-commits
https://github.com/chaitanyav updated https://github.com/llvm/llvm-project/pull/159277 >From 548e5bdd46833857e9ace5b778e2e41ea329a0a2 Mon Sep 17 00:00:00 2001 From: NagaChaitanya Vellanki Date: Wed, 17 Sep 2025 00:04:24 -0700 Subject: [PATCH] [clang-format] Fix for BreakTemplateDeclarations and

[clang] [clang-format] Fix for BreakTemplateDeclarations and RequiresClausePosition (PR #159261)

2025-09-17 Thread NagaChaitanya Vellanki via cfe-commits
https://github.com/chaitanyav updated https://github.com/llvm/llvm-project/pull/159261 >From ec7a0a72497882f18940d71af3911a31b819f9ef Mon Sep 17 00:00:00 2001 From: NagaChaitanya Vellanki Date: Wed, 17 Sep 2025 00:04:24 -0700 Subject: [PATCH] [clang-format] Fix for BreakTemplateDeclarations and

[clang] [clang-format] Fix for BreakTemplateDeclarations and RequiresClausePosition (PR #159261)

2025-09-17 Thread NagaChaitanya Vellanki via cfe-commits
https://github.com/chaitanyav created https://github.com/llvm/llvm-project/pull/159261 when BreakTemplateDeclarations is set to yes and RequiresClausePosition is SingleLine or WithPreceding requires clause should be on the same line Fixes #150845 >

[clang] [clang-format] Fix for BreakTemplateDeclarations and RequiresClausePosition (PR #159277)

2025-09-20 Thread NagaChaitanya Vellanki via cfe-commits
https://github.com/chaitanyav updated https://github.com/llvm/llvm-project/pull/159277 >From bee11d34f36de3f2a9071bbb413b6fbbbec5ae52 Mon Sep 17 00:00:00 2001 From: NagaChaitanya Vellanki Date: Wed, 17 Sep 2025 00:04:24 -0700 Subject: [PATCH] [clang-format] Fix for BreakTemplateDeclarations and

[clang] [clang-format] Fix for BreakTemplateDeclarations and RequiresClausePosition (PR #159277)

2025-09-21 Thread NagaChaitanya Vellanki via cfe-commits
https://github.com/chaitanyav closed https://github.com/llvm/llvm-project/pull/159277 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang-format] Fix for BreakTemplateDeclarations and RequiresClausePosition (PR #159277)

2025-09-21 Thread NagaChaitanya Vellanki via cfe-commits
chaitanyav wrote: Closing this PR since its not a bug as per https://github.com/llvm/llvm-project/issues/150845#issuecomment-3315305337 https://github.com/llvm/llvm-project/pull/159277 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://li

[clang] [clang-format] Fix for BreakTemplateDeclarations and RequiresClausePosition (PR #159277)

2025-09-17 Thread NagaChaitanya Vellanki via cfe-commits
https://github.com/chaitanyav updated https://github.com/llvm/llvm-project/pull/159277 >From c73c23f8aa29bcd6664d5bbc66b8f451c542892b Mon Sep 17 00:00:00 2001 From: NagaChaitanya Vellanki Date: Wed, 17 Sep 2025 00:04:24 -0700 Subject: [PATCH] [clang-format] Fix for BreakTemplateDeclarations and

[clang] [clang-format] Fix for BreakTemplateDeclarations and RequiresClausePosition (PR #159277)

2025-09-17 Thread NagaChaitanya Vellanki via cfe-commits
https://github.com/chaitanyav updated https://github.com/llvm/llvm-project/pull/159277 >From 7eb6b33350e4887fca8ca882ab1a46fe811017b8 Mon Sep 17 00:00:00 2001 From: NagaChaitanya Vellanki Date: Wed, 17 Sep 2025 00:04:24 -0700 Subject: [PATCH] [clang-format] Fix for BreakTemplateDeclarations and

[clang] [clang-format] Fix for BreakTemplateDeclarations and RequiresClausePosition (PR #159277)

2025-09-17 Thread NagaChaitanya Vellanki via cfe-commits
https://github.com/chaitanyav updated https://github.com/llvm/llvm-project/pull/159277 >From e982d802000131cd76a1b581142d5c13abfdd349 Mon Sep 17 00:00:00 2001 From: NagaChaitanya Vellanki Date: Wed, 17 Sep 2025 00:04:24 -0700 Subject: [PATCH] [clang-format] Fix for BreakTemplateDeclarations and

[clang] [clang-format] Fix for BreakTemplateDeclarations and RequiresClausePosition (PR #159277)

2025-09-17 Thread NagaChaitanya Vellanki via cfe-commits
https://github.com/chaitanyav updated https://github.com/llvm/llvm-project/pull/159277 >From 44820a90771957eea02fb88a65dfe5d2e348f22d Mon Sep 17 00:00:00 2001 From: NagaChaitanya Vellanki Date: Wed, 17 Sep 2025 00:04:24 -0700 Subject: [PATCH] [clang-format] Fix for BreakTemplateDeclarations and

[clang] [clang-format] Fix for BreakTemplateDeclarations and RequiresClausePosition (PR #159277)

2025-09-17 Thread NagaChaitanya Vellanki via cfe-commits
https://github.com/chaitanyav updated https://github.com/llvm/llvm-project/pull/159277 >From 52a2d33bea72bac5bc26e6bbecfa0b4e9fd5fbed Mon Sep 17 00:00:00 2001 From: NagaChaitanya Vellanki Date: Wed, 17 Sep 2025 00:04:24 -0700 Subject: [PATCH] [clang-format] Fix for BreakTemplateDeclarations and

[clang] [clang][ExtractAPI] Fix for nested types are not enabled. (PR #159698)

2025-09-19 Thread NagaChaitanya Vellanki via cfe-commits
https://github.com/chaitanyav updated https://github.com/llvm/llvm-project/pull/159698 >From 6b638a98afd02759b4de7031585a1f0d0ffc8740 Mon Sep 17 00:00:00 2001 From: NagaChaitanya Vellanki Date: Thu, 18 Sep 2025 20:36:53 -0700 Subject: [PATCH] [clang][ExtractAPI] Fix for nested types are not ena

[clang] [clang-format] Fix for BreakTemplateDeclarations and RequiresClausePosition (PR #159277)

2025-09-20 Thread NagaChaitanya Vellanki via cfe-commits
https://github.com/chaitanyav updated https://github.com/llvm/llvm-project/pull/159277 >From 61e2dc18275988ab6e4ad75abfac84dd83846098 Mon Sep 17 00:00:00 2001 From: NagaChaitanya Vellanki Date: Wed, 17 Sep 2025 00:04:24 -0700 Subject: [PATCH] [clang-format] Fix for BreakTemplateDeclarations and

[clang] [clang][ExtractAPI] Fix for nested types are not enabled. (PR #159698)

2025-09-19 Thread NagaChaitanya Vellanki via cfe-commits
https://github.com/chaitanyav updated https://github.com/llvm/llvm-project/pull/159698 >From 101054caeeb2889fc4ced2a207d9b029fbbc98e8 Mon Sep 17 00:00:00 2001 From: NagaChaitanya Vellanki Date: Thu, 18 Sep 2025 20:36:53 -0700 Subject: [PATCH] [clang][ExtractAPI] Fix for nested types are not ena

[clang] [clang-format] Fix for BreakTemplateDeclarations and RequiresClausePosition (PR #159277)

2025-09-20 Thread NagaChaitanya Vellanki via cfe-commits
https://github.com/chaitanyav created https://github.com/llvm/llvm-project/pull/159277 when BreakTemplateDeclarations is set to yes and RequiresClausePosition is SingleLine or WithPreceding requires clause should be on the same line Fixes #150845 >From f174cfaa46e83a94dd8edabdaff94

[clang] [clang-format] Fix for BreakTemplateDeclarations and RequiresClausePosition (PR #159277)

2025-09-20 Thread NagaChaitanya Vellanki via cfe-commits
https://github.com/chaitanyav updated https://github.com/llvm/llvm-project/pull/159277 >From 6ad28d262b32bfeb3f8faec3aa265653612f4f1a Mon Sep 17 00:00:00 2001 From: NagaChaitanya Vellanki Date: Wed, 17 Sep 2025 00:04:24 -0700 Subject: [PATCH] [clang-format] Fix for BreakTemplateDeclarations and

[clang] [clang][ExtractAPI] Fix for nested types are not enabled. (PR #159698)

2025-09-19 Thread NagaChaitanya Vellanki via cfe-commits
https://github.com/chaitanyav updated https://github.com/llvm/llvm-project/pull/159698 >From c24df2cedb575c76c89ec5ba2604967e3d3e91c5 Mon Sep 17 00:00:00 2001 From: NagaChaitanya Vellanki Date: Thu, 18 Sep 2025 20:36:53 -0700 Subject: [PATCH] [clang][ExtractAPI] Fix for nested types are not ena

[clang] [clang-format] Fix for BreakTemplateDeclarations and RequiresClausePosition (PR #159277)

2025-09-19 Thread NagaChaitanya Vellanki via cfe-commits
chaitanyav wrote: @llvm/pr-subscribers-clang-format please review. https://github.com/llvm/llvm-project/pull/159277 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Implement __builtin_rotate{left,right}g (PR #160259)

2025-09-23 Thread NagaChaitanya Vellanki via cfe-commits
https://github.com/chaitanyav created https://github.com/llvm/llvm-project/pull/160259 Resolves #122819 >From d09c5b61e1a98519e36bc5c7d9a23dff436cdeee Mon Sep 17 00:00:00 2001 From: NagaChaitanya Vellanki Date: Tue, 23 Sep 2025 02:17:49 -0700 Subject: [PATCH] [clang] Implement __builtin_rotate

[clang] [clang] Implement __builtin_rotate{left,right}g (PR #160259)

2025-09-23 Thread NagaChaitanya Vellanki via cfe-commits
https://github.com/chaitanyav updated https://github.com/llvm/llvm-project/pull/160259 >From 024c4c4b66b145aec74c2a74e22eda2c882acdf4 Mon Sep 17 00:00:00 2001 From: NagaChaitanya Vellanki Date: Tue, 23 Sep 2025 02:17:49 -0700 Subject: [PATCH] [clang] Implement __builtin_rotate{left,right}g Res

[clang] [clang] Implement __builtin_rotate{left,right}g (PR #160259)

2025-09-23 Thread NagaChaitanya Vellanki via cfe-commits
https://github.com/chaitanyav updated https://github.com/llvm/llvm-project/pull/160259 >From 4fc9bde5c22baf4faf26ffd510bf2d303f94313c Mon Sep 17 00:00:00 2001 From: NagaChaitanya Vellanki Date: Tue, 23 Sep 2025 02:17:49 -0700 Subject: [PATCH] [clang] Implement __builtin_stdc_rotate_{left,right}

[clang] [clang][ExtractAPI] Fix for nested types are not enabled. (PR #159698)

2025-09-23 Thread NagaChaitanya Vellanki via cfe-commits
chaitanyav wrote: @daniel-grumberg please review. https://github.com/llvm/llvm-project/pull/159698 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Implement __builtin_stdc_rotate_left, __builtin_stdc_rotate_right (PR #160259)

2025-09-24 Thread NagaChaitanya Vellanki via cfe-commits
https://github.com/chaitanyav edited https://github.com/llvm/llvm-project/pull/160259 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Implement __builtin_stdc_rotate_left, __builtin_stdc_rotate_right (PR #160259)

2025-09-26 Thread NagaChaitanya Vellanki via cfe-commits
https://github.com/chaitanyav updated https://github.com/llvm/llvm-project/pull/160259 >From deb648b838be14db50fd10afef54ff1d721f4129 Mon Sep 17 00:00:00 2001 From: NagaChaitanya Vellanki Date: Tue, 23 Sep 2025 02:17:49 -0700 Subject: [PATCH] [clang] Implement __builtin_stdc_rotate_{left,right}

[clang] [clang] Implement __builtin_stdc_rotate_left, __builtin_stdc_rotate_right (PR #160259)

2025-09-26 Thread NagaChaitanya Vellanki via cfe-commits
https://github.com/chaitanyav edited https://github.com/llvm/llvm-project/pull/160259 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Implement __builtin_stdc_rotate_left, __builtin_stdc_rotate_right (PR #160259)

2025-09-26 Thread NagaChaitanya Vellanki via cfe-commits
@@ -2492,12 +2492,36 @@ RValue CodeGenFunction::emitRotate(const CallExpr *E, bool IsRotateRight) { // The builtin's shift arg may have a different type than the source arg and // result, but the LLVM intrinsic uses the same type for all values. llvm::Type *Ty = Src->get

[clang] [clang] Implement __builtin_stdc_rotate_left, __builtin_stdc_rotate_right (PR #160259)

2025-09-26 Thread NagaChaitanya Vellanki via cfe-commits
https://github.com/chaitanyav edited https://github.com/llvm/llvm-project/pull/160259 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Implement __builtin_rotate{left,right}g (PR #160259)

2025-09-25 Thread NagaChaitanya Vellanki via cfe-commits
https://github.com/chaitanyav updated https://github.com/llvm/llvm-project/pull/160259 >From 01dfdddf03cf0b7c2d63ffd3e89dce814ecfd630 Mon Sep 17 00:00:00 2001 From: NagaChaitanya Vellanki Date: Tue, 23 Sep 2025 02:17:49 -0700 Subject: [PATCH] [clang] Implement __builtin_stdc_rotate_{left,right}

[clang] [clang] Implement __builtin_stdc_rotate_left, __builtin_stdc_rotate_right (PR #160259)

2025-09-24 Thread NagaChaitanya Vellanki via cfe-commits
https://github.com/chaitanyav updated https://github.com/llvm/llvm-project/pull/160259 >From e262508ece2cfc8897ef23854f63b13a23f5e35e Mon Sep 17 00:00:00 2001 From: NagaChaitanya Vellanki Date: Tue, 23 Sep 2025 02:17:49 -0700 Subject: [PATCH] [clang] Implement __builtin_stdc_rotate_{left,right}

[clang] [clang] Implement __builtin_stdc_rotate_left, __builtin_stdc_rotate_right (PR #160259)

2025-09-24 Thread NagaChaitanya Vellanki via cfe-commits
https://github.com/chaitanyav updated https://github.com/llvm/llvm-project/pull/160259 >From 3fae000a82a85a8d9a137b128c781cbc1ef76964 Mon Sep 17 00:00:00 2001 From: NagaChaitanya Vellanki Date: Tue, 23 Sep 2025 02:17:49 -0700 Subject: [PATCH] [clang] Implement __builtin_stdc_rotate_{left,right}

[clang] [clang] Implement __builtin_stdc_rotate_left, __builtin_stdc_rotate_right (PR #160259)

2025-09-27 Thread NagaChaitanya Vellanki via cfe-commits
https://github.com/chaitanyav updated https://github.com/llvm/llvm-project/pull/160259 >From 6c5c34c50ff201d90ded979c3bd8de6ec096509d Mon Sep 17 00:00:00 2001 From: NagaChaitanya Vellanki Date: Tue, 23 Sep 2025 02:17:49 -0700 Subject: [PATCH] [clang] Implement __builtin_stdc_rotate_{left,right}

[clang] [clang] Implement __builtin_stdc_rotate_left, __builtin_stdc_rotate_right (PR #160259)

2025-09-27 Thread NagaChaitanya Vellanki via cfe-commits
https://github.com/chaitanyav edited https://github.com/llvm/llvm-project/pull/160259 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Implement __builtin_stdc_rotate_left, __builtin_stdc_rotate_right (PR #160259)

2025-09-27 Thread NagaChaitanya Vellanki via cfe-commits
@@ -3680,6 +3680,37 @@ the arguments. Both arguments and the result have the bitwidth specified by the name of the builtin. These builtins can be used within constant expressions. +``__builtin_stdc_rotate_left`` and ``__builtin_stdc_rotate_right`` +---

[clang] [clang] Implement __builtin_stdc_rotate_left, __builtin_stdc_rotate_right (PR #160259)

2025-09-26 Thread NagaChaitanya Vellanki via cfe-commits
https://github.com/chaitanyav updated https://github.com/llvm/llvm-project/pull/160259 >From db50769a3a42fd5a23a5900d2ac8497f0aece893 Mon Sep 17 00:00:00 2001 From: NagaChaitanya Vellanki Date: Tue, 23 Sep 2025 02:17:49 -0700 Subject: [PATCH] [clang] Implement __builtin_stdc_rotate_{left,right}

[clang] [clang] Implement __builtin_stdc_rotate_left, __builtin_stdc_rotate_right (PR #160259)

2025-09-26 Thread NagaChaitanya Vellanki via cfe-commits
https://github.com/chaitanyav updated https://github.com/llvm/llvm-project/pull/160259 >From 2da4de73ec2d097e518edc1332ecab0ff9a2219e Mon Sep 17 00:00:00 2001 From: NagaChaitanya Vellanki Date: Tue, 23 Sep 2025 02:17:49 -0700 Subject: [PATCH] [clang] Implement __builtin_stdc_rotate_{left,right}

[clang] [X86][Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - Allow AVX/AVX512 IFMA madd52 intrinsics to be used in constexpr (PR #161056)

2025-09-28 Thread NagaChaitanya Vellanki via cfe-commits
https://github.com/chaitanyav updated https://github.com/llvm/llvm-project/pull/161056 >From 4b022cd6ccdd6adb1ed898dc0436f6c4dba1f442 Mon Sep 17 00:00:00 2001 From: NagaChaitanya Vellanki Date: Sun, 28 Sep 2025 00:29:57 -0700 Subject: [PATCH] [X86][Clang] VectorExprEvaluator::VisitCallExpr / I

[clang] [X86][Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - Allow AVX/AVX512 IFMA madd52 intrinsics to be used in constexpr (PR #161056)

2025-09-28 Thread NagaChaitanya Vellanki via cfe-commits
https://github.com/chaitanyav created https://github.com/llvm/llvm-project/pull/161056 Resolves #160498 >From 33d313bac475fc3aa558be8657b7373a2c724342 Mon Sep 17 00:00:00 2001 From: NagaChaitanya Vellanki Date: Sun, 28 Sep 2025 00:29:57 -0700 Subject: [PATCH] [X86][Clang] VectorExprEvaluator::

[clang] [X86][Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - Allow AVX/AVX512 IFMA madd52 intrinsics to be used in constexpr (PR #161056)

2025-09-28 Thread NagaChaitanya Vellanki via cfe-commits
https://github.com/chaitanyav updated https://github.com/llvm/llvm-project/pull/161056 >From 1920f6dde19da9e27a9a035f5c57a5a325aa33a7 Mon Sep 17 00:00:00 2001 From: NagaChaitanya Vellanki Date: Sun, 28 Sep 2025 00:29:57 -0700 Subject: [PATCH] [X86][Clang] VectorExprEvaluator::VisitCallExpr / I

[clang] [X86][Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - Allow AVX/AVX512 IFMA madd52 intrinsics to be used in constexpr (PR #161056)

2025-09-30 Thread NagaChaitanya Vellanki via cfe-commits
https://github.com/chaitanyav edited https://github.com/llvm/llvm-project/pull/161056 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [X86][Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - Allow AVX/AVX512 IFMA madd52 intrinsics to be used in constexpr (PR #161056)

2025-09-30 Thread NagaChaitanya Vellanki via cfe-commits
@@ -2,14 +2,17 @@ // RUN: %clang_cc1 -x c -flax-vector-conversions=none -ffreestanding %s -triple=i386-apple-darwin -target-feature +avx512ifma -emit-llvm -o - -Wall -Werror | FileCheck %s // RUN: %clang_cc1 -x c++ -flax-vector-conversions=none -ffreestanding %s -triple=x86_6

[clang] [X86][Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - Allow AVX/AVX512 IFMA madd52 intrinsics to be used in constexpr (PR #161056)

2025-09-30 Thread NagaChaitanya Vellanki via cfe-commits
@@ -52,3 +56,35 @@ __m256i test_mm256_madd52lo_avx_epu64(__m256i __X, __m256i __Y, __m256i __Z) { // CHECK:call {{.*}}<4 x i64> @llvm.x86.avx512.vpmadd52l.uq.256(<4 x i64> %{{.*}}, <4 x i64> %{{.*}}, <4 x i64> %{{.*}}) return _mm256_madd52lo_avx_epu64(__X, __Y, __Z); }

[clang] [X86][Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - Allow AVX/AVX512 IFMA madd52 intrinsics to be used in constexpr (PR #161056)

2025-09-30 Thread NagaChaitanya Vellanki via cfe-commits
https://github.com/chaitanyav updated https://github.com/llvm/llvm-project/pull/161056 >From f11c3bd64cdd60c95a662f0838619839f2e8abc9 Mon Sep 17 00:00:00 2001 From: NagaChaitanya Vellanki Date: Sun, 28 Sep 2025 00:29:57 -0700 Subject: [PATCH] [X86][Clang] VectorExprEvaluator::VisitCallExpr / I

[clang] [X86][Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - Allow AVX/AVX512 IFMA madd52 intrinsics to be used in constexpr (PR #161056)

2025-09-29 Thread NagaChaitanya Vellanki via cfe-commits
@@ -3564,6 +3564,28 @@ bool InterpretBuiltin(InterpState &S, CodePtr OpPC, const CallExpr *Call, return F; }); + case X86::BI__builtin_ia32_vpmadd52luq128: + case X86::BI__builtin_ia32_vpmadd52luq256: + case X86::BI__builtin_ia32_vpmadd52luq512: +retu

[clang] [X86][Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - Allow AVX/AVX512 IFMA madd52 intrinsics to be used in constexpr (PR #161056)

2025-10-02 Thread NagaChaitanya Vellanki via cfe-commits
https://github.com/chaitanyav ready_for_review https://github.com/llvm/llvm-project/pull/161056 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Implement __builtin_stdc_rotate_left, __builtin_stdc_rotate_right (PR #160259)

2025-10-01 Thread NagaChaitanya Vellanki via cfe-commits
@@ -2492,12 +2492,34 @@ RValue CodeGenFunction::emitRotate(const CallExpr *E, bool IsRotateRight) { // The builtin's shift arg may have a different type than the source arg and // result, but the LLVM intrinsic uses the same type for all values. llvm::Type *Ty = Src->get

[clang] [clang] Implement __builtin_stdc_rotate_left, __builtin_stdc_rotate_right (PR #160259)

2025-10-01 Thread NagaChaitanya Vellanki via cfe-commits
https://github.com/chaitanyav updated https://github.com/llvm/llvm-project/pull/160259 >From 258cb5d1d0e189512dc62a28184a7c10e2917669 Mon Sep 17 00:00:00 2001 From: NagaChaitanya Vellanki Date: Tue, 23 Sep 2025 02:17:49 -0700 Subject: [PATCH] [clang] Implement __builtin_stdc_rotate_{left,right}

[clang] [clang] Implement __builtin_stdc_rotate_left, __builtin_stdc_rotate_right (PR #160259)

2025-10-03 Thread NagaChaitanya Vellanki via cfe-commits
@@ -2267,6 +2267,48 @@ static bool BuiltinCountZeroBitsGeneric(Sema &S, CallExpr *TheCall) { return false; } +/// Checks that __builtin_stdc_rotate_{left,right} was called with two +/// arguments, that the first argument is an unsigned integer type, and that +/// the second

[clang] [clang] Implement __builtin_stdc_rotate_left, __builtin_stdc_rotate_right (PR #160259)

2025-10-02 Thread NagaChaitanya Vellanki via cfe-commits
https://github.com/chaitanyav edited https://github.com/llvm/llvm-project/pull/160259 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Implement __builtin_stdc_rotate_left, __builtin_stdc_rotate_right (PR #160259)

2025-10-02 Thread NagaChaitanya Vellanki via cfe-commits
https://github.com/chaitanyav updated https://github.com/llvm/llvm-project/pull/160259 >From 3526d230f4cbd5aa5e81bd14c14e18685e47a191 Mon Sep 17 00:00:00 2001 From: NagaChaitanya Vellanki Date: Tue, 23 Sep 2025 02:17:49 -0700 Subject: [PATCH] [clang] Implement __builtin_stdc_rotate_left and __

[clang] [X86][Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - Allow AVX/AVX512 IFMA madd52 intrinsics to be used in constexpr (PR #161056)

2025-10-02 Thread NagaChaitanya Vellanki via cfe-commits
https://github.com/chaitanyav updated https://github.com/llvm/llvm-project/pull/161056 >From 83f379bd8ea7b079411a68b1827bd7130cf5ec1e Mon Sep 17 00:00:00 2001 From: NagaChaitanya Vellanki Date: Sun, 28 Sep 2025 00:29:57 -0700 Subject: [PATCH] [X86][Clang] VectorExprEvaluator::VisitCallExpr / I

[clang] [clang] Implement __builtin_stdc_rotate_left, __builtin_stdc_rotate_right (PR #160259)

2025-10-02 Thread NagaChaitanya Vellanki via cfe-commits
https://github.com/chaitanyav edited https://github.com/llvm/llvm-project/pull/160259 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [X86][Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - Allow AVX/AVX512 IFMA madd52 intrinsics to be used in constexpr (PR #161056)

2025-10-02 Thread NagaChaitanya Vellanki via cfe-commits
https://github.com/chaitanyav updated https://github.com/llvm/llvm-project/pull/161056 >From bc897b3e9806bbafdd67e8ec75d43847c3553454 Mon Sep 17 00:00:00 2001 From: NagaChaitanya Vellanki Date: Sun, 28 Sep 2025 00:29:57 -0700 Subject: [PATCH] [X86][Clang] VectorExprEvaluator::VisitCallExpr / I

[clang] [clang] Implement __builtin_stdc_rotate_left, __builtin_stdc_rotate_right (PR #160259)

2025-10-02 Thread NagaChaitanya Vellanki via cfe-commits
@@ -3680,6 +3680,44 @@ the arguments. Both arguments and the result have the bitwidth specified by the name of the builtin. These builtins can be used within constant expressions. +``__builtin_stdc_rotate_left`` and ``__builtin_stdc_rotate_right`` +---

[clang] [X86][Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - Allow AVX/AVX512 IFMA madd52 intrinsics to be used in constexpr (PR #161056)

2025-10-03 Thread NagaChaitanya Vellanki via cfe-commits
https://github.com/chaitanyav updated https://github.com/llvm/llvm-project/pull/161056 >From 0613d8369344af349e18fb4c73f2490277eb097d Mon Sep 17 00:00:00 2001 From: NagaChaitanya Vellanki Date: Sun, 28 Sep 2025 00:29:57 -0700 Subject: [PATCH] [X86][Clang] VectorExprEvaluator::VisitCallExpr / I

[clang] [X86][Clang] VectorExprEvaluator::VisitCallExpr / InterpretBuiltin - Allow AVX/AVX512 IFMA madd52 intrinsics to be used in constexpr (PR #161056)

2025-10-03 Thread NagaChaitanya Vellanki via cfe-commits
@@ -3523,6 +3523,21 @@ bool InterpretBuiltin(InterpState &S, CodePtr OpPC, const CallExpr *Call, return F; }); + case X86::BI__builtin_ia32_vpmadd52luq128: + case X86::BI__builtin_ia32_vpmadd52luq256: + case X86::BI__builtin_ia32_vpmadd52luq512: +retu