labrinea wrote:
@BeMg, does the RISC-V code look okay to you?
https://github.com/llvm/llvm-project/pull/116257
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -4303,21 +4288,15 @@ void CodeGenModule::emitMultiVersionFunctions() {
continue;
llvm::Function *Func = createFunction(CurFD, I);
- StringRef Architecture;
Feats.clear();
- if (getTarget().getTriple().is
https://github.com/dtcxzyw edited
https://github.com/llvm/llvm-project/pull/116888
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1793,10 +1793,9 @@ define i32 @not_uadd_sat(i32 %x, i32 %y) {
define i32 @not_uadd_sat2(i32 %x, i32 %y) {
; CHECK-LABEL: @not_uadd_sat2(
-; CHECK-NEXT:[[A:%.*]] = add i32 [[X:%.*]], -2
-; CHECK-NEXT:[[C:%.*]] = icmp ugt i32 [[X]], 1
-; CHECK-NEXT:[[R:%.*]] = se
@@ -1182,6 +1182,10 @@ SelectPatternResult matchDecomposedSelectPattern(
/// minimum/maximum flavor.
CmpInst::Predicate getMinMaxPred(SelectPatternFlavor SPF, bool Ordered =
false);
+/// Convert given `SPF` to equivalent min/max intrinsic.
+/// Caller must ensure `SPF` is a m
@@ -1898,6 +1882,55 @@ static Instruction *foldSelectICmpEq(SelectInst &SI,
ICmpInst *ICI,
return nullptr;
}
+// Turn select (Cmp X C1) (BOp X C2) C3
dtcxzyw wrote:
```suggestion
/// Turn select (Cmp X C1) (BOp X C2) C3
```
Use `///` for header comments.
@@ -1898,6 +1882,55 @@ static Instruction *foldSelectICmpEq(SelectInst &SI,
ICmpInst *ICI,
return nullptr;
}
+// Turn select (Cmp X C1) (BOp X C2) C3
+// -> BOp (min/max X C1) C2
+// iff C3 == BOp C1 C2
+// Fold `select` with a const operand to a binary operation.
+// Thi
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `premerge-monolithic-linux`
running on `premerge-linux-1` while building `clang-tools-extra` at step 7
"test-build-unified-tree-check-all".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/153/builds/158
https://github.com/mandymimi ready_for_review
https://github.com/llvm/llvm-project/pull/117143
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/mandymimi edited
https://github.com/llvm/llvm-project/pull/117143
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/mandymimi updated
https://github.com/llvm/llvm-project/pull/117143
>From b411d9185a6f761901bcc7c8ed147a8efd3b5301 Mon Sep 17 00:00:00 2001
From: wangmi
Date: Tue, 26 Nov 2024 07:11:58 +
Subject: [PATCH] [ASTMatcher] Fix redundant macro expansion checks in
getExpansionLoc
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-x86_64-debian-fast`
running on `gribozavr4` while building `clang-tools-extra` at step 6
"test-build-unified-tree-check-all".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/56/builds/13090
Her
https://github.com/HighCommander4 approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/117565
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
vgvassilev wrote:
> I came across the following setup:
>
> ```c++
> // REQUIRES: host-supports-jit
>
> // RUN: rm -rf %t
> // RUN: mkdir -p %t
> //
> // RUN: split-file %s %t
> //
> // RUN: %clang++ -std=c++20 -fPIC -c %t/vec.cpp -o %t/vec.o
> // RUN: %clang++ -shared %t/vec.o -o %t/vec.dylib
>
@@ -807,6 +807,10 @@ def err_drv_loongarch_invalid_simd_option_combination :
Error<
"invalid option combination; LASX depends on LSX">;
def err_drv_loongarch_invalid_msimd_EQ : Error<
"invalid argument '%0' to -msimd=; must be one of: none, lsx, lasx">;
+// Support for oth
@@ -0,0 +1,13 @@
+! RUN: not %flang -### -c --target=loongarch64-unknown-linux -mabi=lp64s %s
2>&1 | FileCheck --check-prefix=INVALID1 %s
+! RUN: not %flang -### -c --target=loongarch64-unknown-linux -mabi=lp64f %s
2>&1 | FileCheck --check-prefix=INVALID2 %s
+! RUN: %flang -###
@@ -0,0 +1,13 @@
+! RUN: not %flang -### -c --target=loongarch64-unknown-linux -mabi=lp64s %s
2>&1 | FileCheck --check-prefix=INVALID1 %s
SixWeining wrote:
Usually `###` is the last option.
```suggestion
! RUN: not %flang -c --target=loongarch64-unknown-linux -m
mga-sc wrote:
I can't merge this PR.
@topperc , could please merge it.
https://github.com/llvm/llvm-project/pull/114014
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
HighCommander4 wrote:
I've fixed the build failure that was reported by the majority of the buildbots
(which is just a new test case using a test utility function that the patch
renames).
However, there is an additional build failured reported by [this
buildbot](https://github.com/llvm/llvm-p
@@ -0,0 +1,79 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc --mtriple=loongarch64 -mattr=+d,-div32 < %s | FileCheck %s
--check-prefix=LA64
+; RUN: llc --mtriple=loongarch64 -mattr=+d,+div32 < %s | FileCheck %s
--check-prefix=LA64-D
llvmbot wrote:
@llvm/pr-subscribers-clang-tools-extra
Author: Nathan Ridge (HighCommander4)
Changes
Previously reviewed at https://github.com/llvm/llvm-project/pull/77556 but was
backed out due to build failures.
---
Patch is 48.62 KiB, truncated to 20.00 KiB below, full version:
https
HighCommander4 wrote:
Resubmitted with the build failures fixed at
https://github.com/llvm/llvm-project/pull/117673.
https://github.com/llvm/llvm-project/pull/77556
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin
https://github.com/HighCommander4 created
https://github.com/llvm/llvm-project/pull/117673
Previously reviewed at https://github.com/llvm/llvm-project/pull/77556 but was
backed out due to build failures.
>From 65f93cd05d9d792bba9a07bda738503f43221221 Mon Sep 17 00:00:00 2001
From: Quentin Chat
@@ -717,6 +717,8 @@ Bug Fixes to C++ Support
- Clang now uses valid deduced type locations when diagnosing functions with
trailing return type
missing placeholder return type. (#GH78694)
- Fixed a bug where bounds of partially expanded pack indexing expressions
were checked
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`sanitizer-x86_64-linux-bootstrap-msan` running on `sanitizer-buildbot6` while
building `clang-tools-extra` at step 2 "annotate".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/164/builds/4934
Here i
@@ -0,0 +1,106 @@
+// NOTE: Assertions have mostly been autogenerated by
utils/update_cc_test_checks.py UTC_ARGS: --version 5
+// The most important assertion is the attributes at the end of the file, which
+// shows that ubsan attaches 'nomerge' to each ubsantrap intrinsic.
+//
@@ -4303,21 +4288,15 @@ void CodeGenModule::emitMultiVersionFunctions() {
continue;
llvm::Function *Func = createFunction(CurFD, I);
- StringRef Architecture;
Feats.clear();
- if (getTarget().getTriple().is
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-aarch64-quick`
running on `linaro-clang-aarch64-quick` while building `clang-tools-extra` at
step 5 "ninja check 1".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/65/builds/8369
Here is the r
Author: Nathan Ridge
Date: 2024-11-26T00:08:33-05:00
New Revision: d77cab823fc03f6933c3375baaddaae1477bb1d2
URL:
https://github.com/llvm/llvm-project/commit/d77cab823fc03f6933c3375baaddaae1477bb1d2
DIFF:
https://github.com/llvm/llvm-project/commit/d77cab823fc03f6933c3375baaddaae1477bb1d2.diff
HighCommander4 wrote:
Reverting https://github.com/llvm/llvm-project/pull/77556 due to build breakage.
https://github.com/llvm/llvm-project/pull/117668
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listi
https://github.com/HighCommander4 created
https://github.com/llvm/llvm-project/pull/117668
This reverts commit ca184cfc088a843e545e5f04b48813e6f9bfba77.
>From 08003a8cc09ad8a6afab582be0d90078d84e617b Mon Sep 17 00:00:00 2001
From: Nathan Ridge
Date: Tue, 26 Nov 2024 00:07:31 -0500
Subject: [PA
https://github.com/arsenm closed
https://github.com/llvm/llvm-project/pull/117597
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-armv8-quick` running
on `linaro-clang-armv8-quick` while building `clang-tools-extra` at step 5
"ninja check 1".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/154/builds/8052
Here is the rele
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-m68k-linux-cross`
running on `suse-gary-m68k-cross` while building `clang-tools-extra` at step 5
"ninja check 1".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/27/builds/2558
Here is the rele
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clangd-ubuntu-tsan`
running on `clangd-ubuntu-clang` while building `clang-tools-extra` at step 5
"build-clangd-clangd-index-server-clangd-indexer".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/134/
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-aarch64-darwin`
running on `doug-worker-5` while building `clang-tools-extra` at step 5
"build-unified-tree".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/190/builds/10189
Here is the r
igorkudrin wrote:
> Please check if this fixes #109778 too. Seems very similar.
This patch fixes #109778, but only for AArch64.
https://github.com/llvm/llvm-project/pull/117419
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm
https://github.com/HighCommander4 closed
https://github.com/llvm/llvm-project/pull/77556
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Nathan Ridge
Date: 2024-11-25T23:58:33-05:00
New Revision: ca184cfc088a843e545e5f04b48813e6f9bfba77
URL:
https://github.com/llvm/llvm-project/commit/ca184cfc088a843e545e5f04b48813e6f9bfba77
DIFF:
https://github.com/llvm/llvm-project/commit/ca184cfc088a843e545e5f04b48813e6f9bfba77.diff
HighCommander4 wrote:
> Appears to work fine. Regarding the slight memory increase: If anyone feels
> strongly about it, they had plenty of time to chime in.
Thanks! I'll go ahead and merge.
https://github.com/llvm/llvm-project/pull/77556
___
cfe-com
@@ -1700,6 +1700,7 @@ declToHierarchyItem(const NamedDecl &ND, llvm::StringRef
TUPath) {
HierarchyItem HI;
HI.name = printName(Ctx, ND);
+ // FIXME: Populate HI.detail the way we do in symbolToHierarchyItem?
HighCommander4 wrote:
See also https://github
@@ -232,13 +232,23 @@ bool AArch64TargetInfo::validateTarget(DiagnosticsEngine
&Diags) const {
bool AArch64TargetInfo::validateGlobalRegisterVariable(
StringRef RegName, unsigned RegSize, bool &HasSizeMismatch) const {
- if ((RegName == "sp") || RegName.starts_with("x"))
https://github.com/igorkudrin edited
https://github.com/llvm/llvm-project/pull/117419
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/igorkudrin updated
https://github.com/llvm/llvm-project/pull/117419
>From 54fc788cca22b1b30313f4349d9ef2ba8cf58079 Mon Sep 17 00:00:00 2001
From: Igor Kudrin
Date: Fri, 22 Nov 2024 21:36:54 -0800
Subject: [PATCH 1/2] [clang][AArch64] Avoid a crash when a non-reserved
registe
https://github.com/perry-ca updated
https://github.com/llvm/llvm-project/pull/111035
>From e8d355c9cd165e0a255bbbfb5b0126cf7b1461a6 Mon Sep 17 00:00:00 2001
From: Sean Perry
Date: Wed, 2 Oct 2024 12:56:43 -0500
Subject: [PATCH 1/9] initial work for pragma export & _Export keyword
---
clang/in
https://github.com/ylzsx updated
https://github.com/llvm/llvm-project/pull/117108
>From 32e04b6538486006c98c6b805b1057110c3a2c1a Mon Sep 17 00:00:00 2001
From: yangzhaoxin
Date: Wed, 20 Nov 2024 17:30:43 +0800
Subject: [PATCH 1/2] [Flang] LoongArch64 support for BIND(C) derived types.
This pat
Author: Matt Arsenault
Date: 2024-11-25T19:54:50-08:00
New Revision: 7fc71f79099b1556a57c9e96f7d62064dcff44d4
URL:
https://github.com/llvm/llvm-project/commit/7fc71f79099b1556a57c9e96f7d62064dcff44d4
DIFF:
https://github.com/llvm/llvm-project/commit/7fc71f79099b1556a57c9e96f7d62064dcff44d4.diff
https://github.com/arsenm closed
https://github.com/llvm/llvm-project/pull/117599
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/arsenm edited
https://github.com/llvm/llvm-project/pull/117600
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ylzsx edited https://github.com/llvm/llvm-project/pull/117108
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/arsenm updated
https://github.com/llvm/llvm-project/pull/117599
>From 312361ba142763030a18c350a70a84aaaf284857 Mon Sep 17 00:00:00 2001
From: Sirish Pande
Date: Thu, 16 May 2024 16:21:42 -0500
Subject: [PATCH] AMDGPU: Support buffer_atomic_pk_add_bf16 for gfx950
Co-authored-
https://github.com/arsenm closed
https://github.com/llvm/llvm-project/pull/117598
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Matt Arsenault
Date: 2024-11-25T19:51:01-08:00
New Revision: 716364ebd6649aeca8658680ebb8b0424d028006
URL:
https://github.com/llvm/llvm-project/commit/716364ebd6649aeca8658680ebb8b0424d028006
DIFF:
https://github.com/llvm/llvm-project/commit/716364ebd6649aeca8658680ebb8b0424d028006.diff
https://github.com/arsenm edited
https://github.com/llvm/llvm-project/pull/117599
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ylzsx edited https://github.com/llvm/llvm-project/pull/117108
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/arsenm updated
https://github.com/llvm/llvm-project/pull/117598
>From f603cf14e105b340f20f33e0efe392bda8559f68 Mon Sep 17 00:00:00 2001
From: Sirish Pande
Date: Sat, 11 May 2024 11:54:40 -0500
Subject: [PATCH] AMDGPU: Add support for v_dot2c_f32_bf16 instruction for
gfx950
https://github.com/arsenm edited
https://github.com/llvm/llvm-project/pull/117598
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Matt Arsenault
Date: 2024-11-25T19:47:48-08:00
New Revision: aa7eb5723cb4499f35ed1c5455f668ccc078e7c2
URL:
https://github.com/llvm/llvm-project/commit/aa7eb5723cb4499f35ed1c5455f668ccc078e7c2
DIFF:
https://github.com/llvm/llvm-project/commit/aa7eb5723cb4499f35ed1c5455f668ccc078e7c2.diff
https://github.com/tangaac updated
https://github.com/llvm/llvm-project/pull/116764
>From 78e214321a273636f7cf4838f0b1ce04ba21d445 Mon Sep 17 00:00:00 2001
From: tangaac
Date: Tue, 19 Nov 2024 15:04:29 +0800
Subject: [PATCH 1/4] [LoongArch] Support LA V1.1 feature that div.w[u] and
mod.w[u] in
@@ -5722,6 +5726,58 @@ bool
LoongArchTargetLowering::getTgtMemIntrinsic(IntrinsicInfo &Info,
}
}
+void LoongArchTargetLowering::emitExpandAtomicRMW(AtomicRMWInst *AI) const {
SixWeining wrote:
Please add some comments for this func and add a test (ir -> ir
@@ -118,6 +118,12 @@ def FeatureLAM_BH
"Support amswap[_db].{b/h} and amadd[_db].{b/h}
instructions.">;
def HasLAM_BH : Predicate<"Subtarget->hasLAM_BH()">;
+// Assume div.w[u] and mod.w[u] can handle inputs that are not sign-extended.
+def FeatureDiv3
@@ -0,0 +1,75 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc --mtriple=loongarch64 -mattr=+d,-div32 < %s | FileCheck %s
--check-prefix=LA64
+; RUN: llc --mtriple=loongarch64 -mattr=+d,+div32 < %s | FileCheck %s
--check-prefix=LA64-D
@@ -0,0 +1,75 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc --mtriple=loongarch64 -mattr=+d,-div32 < %s | FileCheck %s
--check-prefix=LA64
+; RUN: llc --mtriple=loongarch64 -mattr=+d,+div32 < %s | FileCheck %s
--check-prefix=LA64-D
https://github.com/SixWeining commented:
Please remove the changes of #117298.
https://github.com/llvm/llvm-project/pull/116764
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/SixWeining edited
https://github.com/llvm/llvm-project/pull/116764
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/4vtomat updated
https://github.com/llvm/llvm-project/pull/115657
>From 0c95051b617be8fd242e317c442a1881d5f28034 Mon Sep 17 00:00:00 2001
From: Brandon Wu
Date: Mon, 5 Aug 2024 11:59:52 +0800
Subject: [PATCH 1/4] [RISCV] Support `svukte` extension
This is the extension for "A
HerrCai0907 wrote:
> In such case claim is still valid
I think we should remove the discussion about efficient in claim since it is
misleading after C++11. For self-defined container, because implement of empty
and size can be totally different, this claim is still misleading.
https://github
https://github.com/farzonl approved this pull request.
Lgtm
https://github.com/llvm/llvm-project/pull/114014
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
SherAndrei wrote:
@ymand, please review
https://github.com/llvm/llvm-project/pull/117658
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/HerrCai0907 commented:
Please update
`clang-tools-extra/docs/clang-tidy/checks/readability/container-size-empty.rst`
also.
https://github.com/llvm/llvm-project/pull/117629
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
htt
llvmbot wrote:
@llvm/pr-subscribers-hlsl
Author: Helena Kotas (hekota)
Changes
This is a test-only change. This PR merges 5 tests for structured buffers ASTs
into one file with multiple run lines and check prefixes because these tests
have a lot of common output. It also renames RWBuffer
https://github.com/hekota created
https://github.com/llvm/llvm-project/pull/117659
This is a test-only change. This PR merges 5 tests for structured buffers ASTs
into one file with multiple run lines and check prefixes because these tests
have a lot of common output. It also renames RWBuffer-A
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: None (SherAndrei)
Changes
Without these changes a clash appears between a Tag, which is bound to
enclosing match, and a Tag, which is associated with first Case of applyFirst
in rewriteDescendands.
We fix this by making sure that associa
github-actions[bot] wrote:
Thank you for submitting a Pull Request (PR) to the LLVM Project!
This PR will be automatically labeled and the relevant teams will be notified.
If you wish to, you can add reviewers by using the "Reviewers" section on this
page.
If this is not working for you, it
https://github.com/SherAndrei created
https://github.com/llvm/llvm-project/pull/117658
Without these changes a clash appears between a Tag, which is bound to
enclosing match, and a Tag, which is associated with first Case of applyFirst
in rewriteDescendands.
We fix this by making sure that as
@@ -8484,6 +8484,9 @@ def _SLASH_fp_strict : CLFlag<"fp:strict">, HelpText<"">,
Alias, A
def _SLASH_fsanitize_EQ_address : CLFlag<"fsanitize=address">,
HelpText<"Enable AddressSanitizer">,
Alias, AliasArgs<["address"]>;
+def : CLJoined<"fno-profile-sample-use">, Alias;
---
https://github.com/mshockwave edited
https://github.com/llvm/llvm-project/pull/117368
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -10509,14 +10516,18 @@ static bool AnalyzeBitFieldAssignment(Sema &S,
FieldDecl *Bitfield, Expr *Init,
ED->getNumPositiveBits() == FieldWidth) {
DiagID = diag::warn_signed_bitfield_enum_conversion;
}
-
+ unsigned PreferredTypeDiagIndex =
ojhunt wrote:
@erichkeane @Fznamznon what should the release note be - just something akin to
"added warning flag -W... to warn when bitfield packing differs from MSVC"?
https://github.com/llvm/llvm-project/pull/116785
___
cfe-commits mailing list
cfe
https://github.com/thurstond edited
https://github.com/llvm/llvm-project/pull/117651
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -208,10 +209,34 @@ void llvm::setKCFIType(Module &M, Function &F, StringRef
MangledType) {
std::string Type = MangledType.str();
if (M.getModuleFlag("cfi-normalize-integers"))
Type += ".normalized";
+
+ uint32_t OutHash = static_cast(llvm::xxHash64(Type));
+ auto
@@ -343,27 +336,224 @@ struct TemplateParameterListBuilder {
Params.clear();
QualType T = Builder.Template->getInjectedClassNameSpecialization();
-T = S.Context.getInjectedClassNameType(Builder.Record, T);
+T = AST.getInjectedClassNameType(Builder.Record, T);
c8ef wrote:
> Update LanguageExtensions.rst to mention __builtin_elementwise_popcount is
> constexpr compatible
Done.
https://github.com/llvm/llvm-project/pull/117473
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-
https://github.com/c8ef updated https://github.com/llvm/llvm-project/pull/117473
>From 95f2b6b0742b9b5b675f5d2f24aa4eb90c03b18c Mon Sep 17 00:00:00 2001
From: c8ef
Date: Sun, 24 Nov 2024 18:14:51 +0800
Subject: [PATCH 1/8] constexpr elementwise popcount
---
clang/docs/ReleaseNotes.rst
https://github.com/thurstond edited
https://github.com/llvm/llvm-project/pull/117651
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/thurstond updated
https://github.com/llvm/llvm-project/pull/117651
>From f24a87de48c42f310ee73ecf480ea2dcf631881f Mon Sep 17 00:00:00 2001
From: Thurston Dang
Date: Tue, 26 Nov 2024 00:33:09 +
Subject: [PATCH 1/3] [ubsan] Change ubsan-unique-traps to use nomerge instead
https://github.com/thurstond updated
https://github.com/llvm/llvm-project/pull/117651
>From f24a87de48c42f310ee73ecf480ea2dcf631881f Mon Sep 17 00:00:00 2001
From: Thurston Dang
Date: Tue, 26 Nov 2024 00:33:09 +
Subject: [PATCH 1/2] [ubsan] Change ubsan-unique-traps to use nomerge instead
github-actions[bot] wrote:
:warning: C/C++ code formatter, clang-format found issues in your code.
:warning:
You can test this locally with the following command:
``bash
git-clang-format --diff fe3c23b439b9a2d00442d9bc6a4ca86f73066a3d
f24a87de48c42f310ee73ecf480ea2dcf631881f --e
https://github.com/thurstond created
https://github.com/llvm/llvm-project/pull/117651
https://github.com/llvm/llvm-project/pull/65972 (continuation of
https://reviews.llvm.org/D148654) had considered adding nomerge to ubsantrap,
but did not proceed with that because of
https://github.com/llvm
llvmbot wrote:
@llvm/pr-subscribers-clang-codegen
Author: Thurston Dang (thurstond)
Changes
https://github.com/llvm/llvm-project/pull/65972 (continuation of
https://reviews.llvm.org/D148654) had considered adding nomerge to ubsantrap,
but did not proceed with that because of
https://git
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Thurston Dang (thurstond)
Changes
https://github.com/llvm/llvm-project/pull/65972 (continuation of
https://reviews.llvm.org/D148654) had considered adding nomerge to ubsantrap,
but did not proceed with that because of
https://github.com/
https://github.com/pawosm-arm edited
https://github.com/llvm/llvm-project/pull/117573
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1 @@
+-ffast-math -lm -lhappy
pawosm-arm wrote:
yes
https://github.com/llvm/llvm-project/pull/117573
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Thurston Dang (thurstond)
Changes
This test (copied from https://github.com/llvm/llvm-project/pull/83470)
demonstrates that UBSan does not add the nomerge annotation. This is
significant because it results in them being merged by the back
https://github.com/thurstond created
https://github.com/llvm/llvm-project/pull/117649
This test (copied from https://github.com/llvm/llvm-project/pull/83470)
demonstrates that UBSan does not add the nomerge annotation. This is
significant because it results in them being merged by the backend.
pawosm-arm wrote:
> I think it makes sense to handle linker options differently so I'm in favour
> of this change in principle.
>
> Am I right in thinking that if the config file puts things last, the `-l`
> options provided by users will come before the config file ones, and unlike
> other o
https://github.com/farzonl updated
https://github.com/llvm/llvm-project/pull/117648
>From 15b31c3528de5a955b465da2ab2699070628e64f Mon Sep 17 00:00:00 2001
From: Farzon Lotfi
Date: Mon, 25 Nov 2024 19:04:47 -0500
Subject: [PATCH] [NFC] Allow target intrinsic switching to optionally be set.
---
@@ -61,3 +61,22 @@
! CHECK-TWO-CONFIGS-NEXT: Configuration file:
{{.*}}Inputs{{.}}config2{{.}}config-4.cfg
! CHECK-TWO-CONFIGS: -ffp-contract=fast
! CHECK-TWO-CONFIGS: -O3
+
+!--- The -l flags should be moved to the end of input list and appear only
when linking.
+! RUN: %fla
https://github.com/pawosm-arm updated
https://github.com/llvm/llvm-project/pull/117573
>From 2acf432b48c275492d9c5d012e85da36750c9299 Mon Sep 17 00:00:00 2001
From: Pawel Osmialowski
Date: Mon, 25 Nov 2024 14:46:55 +
Subject: [PATCH] [clang][driver] Special care for -l and -Wl, flags in con
https://github.com/farzonl edited
https://github.com/llvm/llvm-project/pull/117648
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
1 - 100 of 525 matches
Mail list logo