@@ -0,0 +1,28 @@
+//===--===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apac
carlocab wrote:
> > Sorry, which env var are you referring to?
>
> I'm suggesting an explicit test case that checks that `DEFAULT_SYSROOT` is
> set and behaves as expected. It's ignored if sysroot or isysroot is passed,
> it's used when they're missing.
`DEFAULT_SYSROOT` is not an environment
@@ -0,0 +1,25 @@
+//===--===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apac
https://github.com/joaosaffran created
https://github.com/llvm/llvm-project/pull/119300
This PR adds a new flag into OPT to run SPIRV structurizer, this is being added
improving testing of such pass.
This change is required to implement a test request that come [from this other
PR](https://gi
https://github.com/joaosaffran closed
https://github.com/llvm/llvm-project/pull/119300
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -19,11 +19,45 @@
__attribute__((__always_inline__, __nodebug__, __target__("avx10.2-256"),
\
__min_vector_width__(128)))
+/// Constructs a 128-bit integer vector, setting the lower 32 bits to the
+///lower 32 bits of the parameter \a __A; the uppe
https://github.com/vitalybuka updated
https://github.com/llvm/llvm-project/pull/119280
>From 1b3a64701a8f496343360d8b6b86670f039a8e6d Mon Sep 17 00:00:00 2001
From: Thurston Dang
Date: Mon, 9 Dec 2024 22:38:30 +
Subject: [PATCH 1/4] [NFC][clang] Add ubsan-handler-merge.c test to show
absen
https://github.com/kzhuravl approved this pull request.
Looks like it is reapplying 94647 (which was already reviewed) with issues
fixed. Thanks!
https://github.com/llvm/llvm-project/pull/118907
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
@@ -19,11 +19,45 @@
__attribute__((__always_inline__, __nodebug__, __target__("avx10.2-256"),
\
__min_vector_width__(128)))
+/// Constructs a 128-bit integer vector, setting the lower 32 bits to the
+///lower 32 bits of the parameter \a __A; the uppe
https://github.com/vitalybuka updated
https://github.com/llvm/llvm-project/pull/119280
>From 1b3a64701a8f496343360d8b6b86670f039a8e6d Mon Sep 17 00:00:00 2001
From: Thurston Dang
Date: Mon, 9 Dec 2024 22:38:30 +
Subject: [PATCH 1/5] [NFC][clang] Add ubsan-handler-merge.c test to show
absen
https://github.com/vitalybuka updated
https://github.com/llvm/llvm-project/pull/119280
>From 1b3a64701a8f496343360d8b6b86670f039a8e6d Mon Sep 17 00:00:00 2001
From: Thurston Dang
Date: Mon, 9 Dec 2024 22:38:30 +
Subject: [PATCH 1/6] [NFC][clang] Add ubsan-handler-merge.c test to show
absen
https://github.com/thurstond edited
https://github.com/llvm/llvm-project/pull/119280
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -524,9 +524,7 @@ define i64 @utest_f64i64(double %x) {
; CHECK-NEXT:local.get 0
; CHECK-NEXT:call __fixunsdfti
; CHECK-NEXT:local.get 1
-; CHECK-NEXT:i32.const 8
-; CHECK-NEXT:i32.add
-; CHECK-NEXT:i64.load 0
+; CHECK-NEXT:i64.load 8
-
Author: Thurston Dang
Date: 2024-12-09T16:21:22-08:00
New Revision: fd57946cc4f11fe4610d3544b61041f306823f81
URL:
https://github.com/llvm/llvm-project/commit/fd57946cc4f11fe4610d3544b61041f306823f81
DIFF:
https://github.com/llvm/llvm-project/commit/fd57946cc4f11fe4610d3544b61041f306823f81.diff
tstellar wrote:
@aaupov When we build llvm-support there is one perf.data file generate for
each cpp file compiled, so we end up without about 150 files. Is there some
way to merge those together before running perf2bolt?
https://github.com/llvm/llvm-project/pull/119117
__
https://github.com/thurstond closed
https://github.com/llvm/llvm-project/pull/119280
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -19,11 +19,45 @@
__attribute__((__always_inline__, __nodebug__, __target__("avx10.2-256"),
\
__min_vector_width__(128)))
+/// Constructs a 128-bit integer vector, setting the lower 32 bits to the
+///lower 32 bits of the parameter \a __A; the uppe
chapuni wrote:
Ping. Or would it be too early for adopting yaml2obj?
https://github.com/llvm/llvm-project/pull/113114
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -53,10 +53,8 @@ class OptTable {
public:
/// Entry for a single option instance in the option data table.
struct Info {
-/// A null terminated array of prefix strings to apply to name while
-/// matching.
-ArrayRef Prefixes;
-StringLiteral PrefixedName;
+
@@ -80,15 +78,56 @@ class OptTable {
const char *AliasArgs;
const char *Values;
-StringRef getName() const {
- unsigned PrefixLength = Prefixes.empty() ? 0 : Prefixes[0].size();
- return PrefixedName.drop_front(PrefixLength);
+bool hasNoPrefix() const
@@ -845,13 +845,14 @@ MemoryBufferRef
LinkerDriver::convertResToCOFF(ArrayRef mbs,
// Create OptTable
+#define OPTTABLE_STR_TABLE_CODE
chandlerc wrote:
I have no idea. It took a lot of work to get even this to work, figuring out
each of the different ways
aaupov wrote:
> @aaupov When we build llvm-support there is one perf.data file generate for
> each cpp file compiled, so we end up without about 150 files. Is there some
> way to merge those together before running perf2bolt?
I see. The best way would be to run perf once so that all clang inv
@@ -53,10 +53,8 @@ class OptTable {
public:
/// Entry for a single option instance in the option data table.
struct Info {
-/// A null terminated array of prefix strings to apply to name while
-/// matching.
-ArrayRef Prefixes;
-StringLiteral PrefixedName;
+
https://github.com/MaxEW707 updated
https://github.com/llvm/llvm-project/pull/99833
>From 0a705b1a8e9673cd5e803ffe392dacfa0f06c40f Mon Sep 17 00:00:00 2001
From: MaxEW707
Date: Fri, 21 Jun 2024 20:37:40 -0700
Subject: [PATCH 01/15] Support MSVC lvalue to temporary reference binding
---
clang/
https://github.com/owenca closed
https://github.com/llvm/llvm-project/pull/119044
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/dkolsen-pgi updated
https://github.com/llvm/llvm-project/pull/119037
>From adc46522a895e088b6af0d229b310d455d6d6ee7 Mon Sep 17 00:00:00 2001
From: David Olsen
Date: Fri, 6 Dec 2024 13:41:44 -0800
Subject: [PATCH 1/2] [CIR] Infrastructure: class CIRGenBuilderTy; cache CIR
typ
https://github.com/owenca approved this pull request.
https://github.com/llvm/llvm-project/pull/119044
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/owenca updated
https://github.com/llvm/llvm-project/pull/119044
>From c5bf1fc70df08ef94cc32a47d1bdce69c92c2abf Mon Sep 17 00:00:00 2001
From: Gedare Bloom
Date: Fri, 6 Dec 2024 16:52:35 -0700
Subject: [PATCH 1/2] [clang-format] Reorder TokenAnnotator::canBreakBefore
Move the
Author: Gedare Bloom
Date: 2024-12-09T21:05:28-08:00
New Revision: 46bf67d8faa6a7d75561fe03b5b871ec4b4a9c1d
URL:
https://github.com/llvm/llvm-project/commit/46bf67d8faa6a7d75561fe03b5b871ec4b4a9c1d
DIFF:
https://github.com/llvm/llvm-project/commit/46bf67d8faa6a7d75561fe03b5b871ec4b4a9c1d.diff
@@ -6105,6 +6105,35 @@ bool TokenAnnotator::canBreakBefore(const AnnotatedLine
&Line,
return false;
}
+ // We can break before an r_brace if there was a corresponding break after
+ // the l_brace, which is tracked by BreakBeforeClosingBrace, or if we are
+ // in a
@@ -0,0 +1,25 @@
+//===--===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apac
https://github.com/thurstond created
https://github.com/llvm/llvm-project/pull/119280
This shows that ubsan handlers do not have nomerge attributes, even if
-ubsan-unique-trap is enabled.
0d15d46362bd6ab5a9a2165805adaab13a7689f4 attaches nomerge but only for trap
mode.
ubsan-handler-merge.c
@@ -2694,19 +2694,49 @@ bool SPIRVInstructionSelector::selectIntrinsic(Register
ResVReg,
}
return MIB.constrainAllUses(TII, TRI, RBI);
}
- case Intrinsic::spv_loop_merge:
- case Intrinsic::spv_selection_merge: {
-const auto Opcode = IID == Intrinsic::spv_select
@@ -2851,7 +2851,21 @@ bool SPIRVInstructionSelector::selectIntrinsic(Register
ResVReg,
.constrainAllUses(TII, TRI, RBI);
break;
case Intrinsic::spv_thread_id:
-return selectSpvThreadId(ResVReg, ResType, I);
+// The HLSL SV_DispatchThreadID semantic is
https://github.com/adam-yang updated
https://github.com/llvm/llvm-project/pull/118580
>From d435e26eb327b4d6c1e3530586b97372292ce214 Mon Sep 17 00:00:00 2001
From: Finn Plummer
Date: Fri, 18 Oct 2024 10:49:18 -0700
Subject: [PATCH 1/4] [HLSL][SPIRV][DXIL] Implement `WaveActiveSum` intrinsic
-
@@ -1843,6 +1843,23 @@ static bool CheckAnyScalarOrVector(Sema *S, CallExpr
*TheCall,
return false;
}
+static bool CheckNotBoolType(Sema *S, CallExpr *TheCall, unsigned ArgIndex) {
adam-yang wrote:
Addressed both these comments.
https://github.com/llvm/ll
@@ -0,0 +1,113 @@
+// 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-unique-traps does not attach 'nomerge' to each ubsa
@@ -0,0 +1,113 @@
+// 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-unique-traps does not attach 'nomerge' to each ubsa
@@ -2021,28 +2021,10 @@ llvm::DISubroutineType
*CGDebugInfo::getOrCreateInstanceMethodType(
// ThisPtr may be null if the member function has an explicit 'this'
// parameter.
if (!ThisPtr.isNull()) {
-const CXXRecordDecl *RD = ThisPtr->getPointeeCXXRecordDecl();
-
https://github.com/efriedma-quic approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/119275
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/joaosaffran updated
https://github.com/llvm/llvm-project/pull/119041
>From f6a7af10669d71251c2235bef5b2625d88fa1d90 Mon Sep 17 00:00:00 2001
From: Joao Saffran
Date: Fri, 6 Dec 2024 01:27:24 +
Subject: [PATCH 1/6] Apply DXC fix and add tests
---
clang/lib/CodeGen/CGDebu
https://github.com/adam-yang updated
https://github.com/llvm/llvm-project/pull/118580
>From d435e26eb327b4d6c1e3530586b97372292ce214 Mon Sep 17 00:00:00 2001
From: Finn Plummer
Date: Fri, 18 Oct 2024 10:49:18 -0700
Subject: [PATCH 1/3] [HLSL][SPIRV][DXIL] Implement `WaveActiveSum` intrinsic
-
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Thurston Dang (thurstond)
Changes
This shows that ubsan handlers do not have nomerge attributes, even if
-ubsan-unique-trap is enabled.
0d15d46362bd6ab5a9a2165805adaab13a7689f4 attaches nomerge but only for trap
mode.
ubsan-handler-merg
https://github.com/mdtoguchi updated
https://github.com/llvm/llvm-project/pull/117268
>From 3fdc74687dbf6da831a1c27995d9d7fef3a2a51f Mon Sep 17 00:00:00 2001
From: Michael Toguchi
Date: Fri, 15 Nov 2024 05:14:21 -0700
Subject: [PATCH 1/4] Reland - [Driver][SYCL] Add initial SYCL offload
compil
https://github.com/lei137 closed
https://github.com/llvm/llvm-project/pull/118004
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Lei Huang
Date: 2024-12-09T18:02:24-05:00
New Revision: a13ec9cd54deba3a6779ce1114503cf86a3f8658
URL:
https://github.com/llvm/llvm-project/commit/a13ec9cd54deba3a6779ce1114503cf86a3f8658
DIFF:
https://github.com/llvm/llvm-project/commit/a13ec9cd54deba3a6779ce1114503cf86a3f8658.diff
LOG
@@ -0,0 +1,179 @@
+//===--- SYCL.cpp - SYCL Tool and ToolChain Implementations -*- C++
-*-===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM
Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Ap
@@ -6591,6 +6681,18 @@ const ToolChain &Driver::getOffloadingDeviceToolChain(
HostTC, Args);
break;
}
+case Action::OFK_SYCL:
+ switch (Target.getArch()) {
+ case llvm::Triple::spir:
+ case
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Jordan Rupprecht (rupprecht)
Changes
afa2fbf87a8e3fff609fd325c938929c48e94280 adds a test which can fail with
`error: unable to open output file 'fixed-register-global.o': 'Permission
denied'`. We don't check the output file at all, so ju
Author: Helena Kotas
Date: 2024-12-09T15:15:37-08:00
New Revision: 274637d7e5960e37a33f29521905eef3d0fee13d
URL:
https://github.com/llvm/llvm-project/commit/274637d7e5960e37a33f29521905eef3d0fee13d
DIFF:
https://github.com/llvm/llvm-project/commit/274637d7e5960e37a33f29521905eef3d0fee13d.diff
https://github.com/hekota closed
https://github.com/llvm/llvm-project/pull/118536
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/rupprecht created
https://github.com/llvm/llvm-project/pull/119285
afa2fbf87a8e3fff609fd325c938929c48e94280 adds a test which can fail with
`error: unable to open output file 'fixed-register-global.o': 'Permission
denied'`. We don't check the output file at all, so just use
Author: Bill Wendling
Date: 2024-12-09T23:18:28Z
New Revision: d74c73fcf648f9d13c62735317fa1708ec4b9f59
URL:
https://github.com/llvm/llvm-project/commit/d74c73fcf648f9d13c62735317fa1708ec4b9f59
DIFF:
https://github.com/llvm/llvm-project/commit/d74c73fcf648f9d13c62735317fa1708ec4b9f59.diff
LOG:
@@ -172,6 +172,7 @@ def parseScript(test, preamble):
f"{compileFlags} "
"-Wno-reserved-module-identifier
-Wno-reserved-user-defined-literal "
"-fmodule-file=std=%T/std.pcm " # The std.compat module
imports std.
+
https://github.com/rniwa created
https://github.com/llvm/llvm-project/pull/119336
Prior to this PR, only CXXTemporaryObjectExpr, not CXXConstructExpr was
recognized in tryToFindPtrOrigin.
>From a3c97276a15af0324b4436d85fa06e22650dfb57 Mon Sep 17 00:00:00 2001
From: Ryosuke Niwa
Date: Mon, 9 D
owenca wrote:
Ping @mydeveloperday @HazardyKnusperkeks
https://github.com/llvm/llvm-project/pull/118513
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-clang-modules
Author: Chuanqi Xu (ChuanqiXu9)
Changes
Reland https://github.com/llvm/llvm-project/pull/83237
---
Currently all the specializations of a template (including instantiation,
specialization and partial specializations) will be loaded at o
https://github.com/ChuanqiXu9 updated
https://github.com/llvm/llvm-project/pull/119333
>From bccd73362a411ef6652100f987843aa18dfb8085 Mon Sep 17 00:00:00 2001
From: Chuanqi Xu
Date: Fri, 6 Dec 2024 10:31:37 +0800
Subject: [PATCH] [Serialization] Support load lazy specialization lazily
Currentl
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `sanitizer-aarch64-linux`
running on `sanitizer-buildbot8` while building `clang,llvm` at step 2
"annotate".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/51/builds/7393
Here is the relevant piece o
https://github.com/ChuanqiXu9 edited
https://github.com/llvm/llvm-project/pull/119333
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
HighCommander4 wrote:
> I have mixed feelings about this. The change is small, but it seems tied to a
> particular coding style, and the implementation appears to be "optimized"
> specifically for that style, which isn’t we do generally.
Would you feel any differently if the implementation was
h-vetinari wrote:
I think the title of the commit ("Support load lazy specialization lazily") is
hard to parse and somewhat redundant. Perhaps the following would be better
(IIUC): "Support loading template specializations lazily"
Also "We should a specialization ` A` in `M.cppm` [...]" in
th
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`sanitizer-x86_64-linux-android` running on `sanitizer-buildbot-android` while
building `clang,llvm` at step 2 "annotate".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/186/builds/4741
Here is the r
https://github.com/ChuanqiXu9 created
https://github.com/llvm/llvm-project/pull/119333
Reland https://github.com/llvm/llvm-project/pull/83237
---
Currently all the specializations of a template (including instantiation,
specialization and partial specializations) will be loaded at once if we
@@ -188,6 +189,7 @@ def parseScript(test, preamble):
"%dbg(MODULE std) %{cxx} %{flags} "
f"{compileFlags} "
"-Wno-reserved-module-identifier
-Wno-reserved-user-defined-literal "
+"-fexperimental-modules-reduced-bmi "
https://github.com/ChuanqiXu9 edited
https://github.com/llvm/llvm-project/pull/114382
___
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
`sanitizer-x86_64-linux-fast` running on `sanitizer-buildbot4` while building
`clang,llvm` at step 2 "annotate".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/169/builds/6246
Here is the relevant pi
llvmbot wrote:
@llvm/pr-subscribers-backend-aarch64
@llvm/pr-subscribers-clang
Author: Daniil Kovalev (kovdan01)
Changes
Reverts llvm/llvm-project#113148
See buildbot failure https://lab.llvm.org/buildbot/#/builders/190/builds/11048
---
Full diff: https://github.com/llvm/llvm-project/pul
Author: Daniil Kovalev
Date: 2024-12-10T09:12:25+03:00
New Revision: ef2e590e7b6fb5b0478e5e087006895a07d185c8
URL:
https://github.com/llvm/llvm-project/commit/ef2e590e7b6fb5b0478e5e087006895a07d185c8
DIFF:
https://github.com/llvm/llvm-project/commit/ef2e590e7b6fb5b0478e5e087006895a07d185c8.diff
https://github.com/kovdan01 closed
https://github.com/llvm/llvm-project/pull/119331
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/kovdan01 ready_for_review
https://github.com/llvm/llvm-project/pull/119331
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ChuanqiXu9 updated
https://github.com/llvm/llvm-project/pull/114382
>From 8a90969b9b669fa2925cea2b60622c19406243d1 Mon Sep 17 00:00:00 2001
From: Chuanqi Xu
Date: Thu, 31 Oct 2024 17:27:00 +0800
Subject: [PATCH 1/3] [C++20] [Modules] Convert
'-fexperimental-modules-reduced-b
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-aarch64-global-isel`
running on `linaro-clang-aarch64-global-isel` while building `clang,llvm` at
step 7 "ninja check 1".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/125/builds/4087
Here is
ChuanqiXu9 wrote:
> I still find the current approach wrt the warning to be odd, we would
> basically force every modules user to change their command line, either by
> adding the new `-fmodules-reduced-bmi`, or add `-Wno-wathever` to suppress
> the warning, or just learn to live with the warn
https://github.com/vgvassilev closed
https://github.com/llvm/llvm-project/pull/117475
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: SahilPatidar
Date: 2024-12-10T09:57:31+02:00
New Revision: 30ad53b92cec0cff9679d559edcc5b933312ba0c
URL:
https://github.com/llvm/llvm-project/commit/30ad53b92cec0cff9679d559edcc5b933312ba0c
DIFF:
https://github.com/llvm/llvm-project/commit/30ad53b92cec0cff9679d559edcc5b933312ba0c.diff
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Ryosuke Niwa (rniwa)
Changes
Prior to this PR, only CXXTemporaryObjectExpr, not CXXConstructExpr was
recognized in tryToFindPtrOrigin.
---
Full diff: https://github.com/llvm/llvm-project/pull/119336.diff
2 Files Affected:
- (modified)
llvmbot wrote:
@llvm/pr-subscribers-clang-static-analyzer-1
Author: Ryosuke Niwa (rniwa)
Changes
Prior to this PR, only CXXTemporaryObjectExpr, not CXXConstructExpr was
recognized in tryToFindPtrOrigin.
---
Full diff: https://github.com/llvm/llvm-project/pull/119336.diff
2 Files Affect
401 - 478 of 478 matches
Mail list logo