nathanchance wrote:
> We should disable the warning if we're preprocessing asm, which should mostly
> solve the issue with warnings.
Yes although the warnings from `arch/x86/include/asm/nospec-branch.h` do show
up from `.c` files so that would only partially fix it.
```
In file included from
@@ -2595,6 +2595,14 @@ GetX86_64ByValArgumentPair(llvm::Type *Lo, llvm::Type
*Hi,
ABIArgInfo X86_64ABIInfo::
classifyReturnType(QualType RetTy) const {
+ // return int128 as i128
+ if (const BuiltinType *BT = RetTy->getAs()) {
+BuiltinType::Kind k = BT->getKind();
+
https://github.com/zibi2 updated
https://github.com/llvm/llvm-project/pull/135842
>From b162b0476058c40b2fcbf7ef397696caead11a7f Mon Sep 17 00:00:00 2001
From: Zibi Sarbinowski
Date: Tue, 15 Apr 2025 19:10:02 +
Subject: [PATCH 1/2] Mark the file opened by
DeserializedDeclsSourceRangePrinte
https://github.com/michele-scandale created
https://github.com/llvm/llvm-project/pull/136038
This is a follow-up of 13aac46332f607a38067b5ddd466071683b8c255. This commit
adjusts the implementation of `hasBooleanRepresentation` to have a similar
behavior as the one of `hasIntegerRepresentation`
efriedma-quic wrote:
> Effectively checking for `LangOpts.DollarIdents || LangOpts.AsmPreprocessor`?
> Or do you think `DollarIdents` should be true if `AsmPreprocessor` is true?
Neither. DollarIdents is already off by default in AsmPreprocessor mode. We
should just preserve the existing beh
https://github.com/a-tarasyuk updated
https://github.com/llvm/llvm-project/pull/135573
>From 27e98b9fbfb808ab19cf688d48d688801d9647c1 Mon Sep 17 00:00:00 2001
From: Oleksandr Tarasiuk
Date: Thu, 17 Apr 2025 00:40:34 +0300
Subject: [PATCH] [Clang] enhance loop analysis to handle variable changes
llvmbot wrote:
@llvm/pr-subscribers-clang-codegen
Author: Michele Scandale (michele-scandale)
Changes
This is a follow-up of 13aac46332f607a38067b5ddd466071683b8c255. This commit
adjusts the implementation of `hasBooleanRepresentation` to have a similar
behavior as the one of `hasInteger
https://github.com/bogner closed
https://github.com/llvm/llvm-project/pull/135876
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
vitalybuka wrote:
I am going to fix/disable tests on those platforms
https://github.com/llvm/llvm-project/pull/135981
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Matheus Izvekov
Date: 2025-04-16T16:27:24-03:00
New Revision: fe94f11407453c2d166597ef6e58d31f5b27d46e
URL:
https://github.com/llvm/llvm-project/commit/fe94f11407453c2d166597ef6e58d31f5b27d46e
DIFF:
https://github.com/llvm/llvm-project/commit/fe94f11407453c2d166597ef6e58d31f5b27d46e.dif
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`ppc64le-lld-multistage-test` running on `ppc64le-lld-multistage-test` while
building `clang,compiler-rt,llvm` at step 12 "build-stage2-unified-tree".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/168
Author: Kazu Hirata
Date: 2025-04-16T12:29:04-07:00
New Revision: 0f97cd87dee1ddc6aadc04369262739da2f55b5a
URL:
https://github.com/llvm/llvm-project/commit/0f97cd87dee1ddc6aadc04369262739da2f55b5a
DIFF:
https://github.com/llvm/llvm-project/commit/0f97cd87dee1ddc6aadc04369262739da2f55b5a.diff
L
Author: Kazu Hirata
Date: 2025-04-16T12:29:58-07:00
New Revision: 4863d1ffbde77b8a3c580b4f7905ec21b1aba7e0
URL:
https://github.com/llvm/llvm-project/commit/4863d1ffbde77b8a3c580b4f7905ec21b1aba7e0
DIFF:
https://github.com/llvm/llvm-project/commit/4863d1ffbde77b8a3c580b4f7905ec21b1aba7e0.diff
L
https://github.com/kazutakahirata closed
https://github.com/llvm/llvm-project/pull/135990
___
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-with-lto-ubuntu`
running on `as-worker-91` while building `clang,llvm` at step 6
"build-stage1-compiler".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/49/builds/1310
Here is the relevant pie
@@ -27,6 +27,8 @@
extern "C" {
#endif
+#if !defined(__CUDA_ARCH__)
+
sarnex wrote:
thanks, ill try to implement this assuming it's relatively easy
https://github.com/llvm/llvm-project/pull/128222
___
cfe-commits ma
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder
`sanitizer-aarch64-linux-bootstrap-msan` running on `sanitizer-buildbot10`
while building `clang,compiler-rt,llvm` at step 2 "annotate".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/94/builds/6266
@@ -0,0 +1,94 @@
+// RUN: %clang_cc1 -finclude-default-header -x hlsl -triple \
inbelic wrote:
```suggestion
// RUN: %clang_cc1 -finclude-default-header -triple \
```
`-x` just specifies the file extension, since the file is `.hlsl` it should
naturally detect an
erichkeane wrote:
> Updated list:
>
> ```
> Disagreements on 'num_gangs' appearing >1x on kernels/kernels-loop
> (justification for kernels-loop should apply to kernels as well?) (UNK way
> forward right now)
> Clang :: SemaOpenACC/compute-construct-num_gangs-clause.c
>
> FLANG: prohibi
https://github.com/kuhar approved this pull request.
https://github.com/llvm/llvm-project/pull/135990
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/JonPsson1 closed
https://github.com/llvm/llvm-project/pull/109164
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1,12 +1,9 @@
-// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.3-library -x hlsl \
-// RUN: -finclude-default-header -emit-pch -o %t %S/Inputs/pch.hlsl
-// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.3-library -x hlsl \
-// RUN: -finclude-default-header -include-pch %t -ast-
https://github.com/s-perron commented:
I've done some extra testing and playing with it. It seems to be working.
However, I do not know enough about how things are done in clang to know if
this is the best way to do it. It look reasonable to me. Others will have to
review the implementation.
Author: Vitaly Buka
Date: 2025-04-16T11:29:34-07:00
New Revision: e77ef7b291a0024ae34eaa76dafb62aef06d3c95
URL:
https://github.com/llvm/llvm-project/commit/e77ef7b291a0024ae34eaa76dafb62aef06d3c95
DIFF:
https://github.com/llvm/llvm-project/commit/e77ef7b291a0024ae34eaa76dafb62aef06d3c95.diff
L
https://github.com/vitalybuka closed
https://github.com/llvm/llvm-project/pull/136002
___
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-driver
Author: Vitaly Buka (vitalybuka)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/136002.diff
1 Files Affected:
- (modified) clang/test/Driver/sanitizer-ld.c (+8)
``diff
diff --git a/clang/test/Driver/sanitize
@@ -14794,9 +14803,36 @@ void
ASTContext::getFunctionFeatureMap(llvm::StringMap &FeatureMap,
}
}
-static SYCLKernelInfo BuildSYCLKernelInfo(CanQualType KernelNameType,
+static SYCLKernelInfo BuildSYCLKernelInfo(ASTContext &Context,
+
https://github.com/erichkeane approved this pull request.
https://github.com/llvm/llvm-project/pull/133030
___
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 `lldb-aarch64-ubuntu`
running on `linaro-lldb-aarch64-ubuntu` while building `clang` at step 6 "test".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/59/builds/16142
Here is the relevant piece of the
no92 wrote:
Discourse RFC:
https://discourse.llvm.org/t/rfc-new-proposed-managarm-support-for-llvm-and-clang-87845/85884
https://github.com/llvm/llvm-project/pull/87845
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi
@@ -1,13 +1,12 @@
-// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.3-library -x hlsl
-finclude-default-header -emit-pch -o %t %S/Inputs/pch_with_buf.hlsl
-// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.3-library -x hlsl \
-// RUN: -finclude-default-header -include-pch %t -ast-d
@@ -0,0 +1,28 @@
+// RUN: %clang_cc1 -Wno-error=hlsl-implicit-binding -triple
dxil-pc-shadermodel6.3-library -x hlsl -o - -fsyntax-only %s -verify
+
+// expected-warning@+1 {{resource has implicit register binding}}
+cbuffer cb0 {
+ int a;
+}
+
+// No warning - this is an elemen
Author: Justin Bogner
Date: 2025-04-16T11:15:54-07:00
New Revision: ad12323fbf8f34fcb3bd3a75ed410d3d5b0ca42c
URL:
https://github.com/llvm/llvm-project/commit/ad12323fbf8f34fcb3bd3a75ed410d3d5b0ca42c
DIFF:
https://github.com/llvm/llvm-project/commit/ad12323fbf8f34fcb3bd3a75ed410d3d5b0ca42c.diff
https://github.com/HazardyKnusperkeks approved this pull request.
https://github.com/llvm/llvm-project/pull/135906
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/bogner updated
https://github.com/llvm/llvm-project/pull/135909
>From cabe20bfd129a574f978c2a10e4f66a04cb85794 Mon Sep 17 00:00:00 2001
From: Justin Bogner
Date: Wed, 2 Apr 2025 11:34:00 -0700
Subject: [PATCH 1/2] [HLSL] Add a warning for implicit bindings
Implicit bindings
https://github.com/Sirraide edited
https://github.com/llvm/llvm-project/pull/106321
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/kazutakahirata closed
https://github.com/llvm/llvm-project/pull/135988
___
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-android` running on `sanitizer-buildbot-android` while
building `clang,compiler-rt,llvm` at step 2 "annotate".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/186/builds/8262
H
vbvictor wrote:
Ping, @PiotrZSL
https://github.com/llvm/llvm-project/pull/126434
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/fmayer updated
https://github.com/llvm/llvm-project/pull/135891
>From cf7c14e486c47c03560ea4b3c6fe012bf1c7de17 Mon Sep 17 00:00:00 2001
From: Florian Mayer
Date: Tue, 15 Apr 2025 17:36:37 -0700
Subject: [PATCH 1/2] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20in?=
=?UT
bogner wrote:
> As a general comment, your approach of just checking for the existence of the
> binding attribute may not in itself be sufficient. Consider this PR:
> https://github.com/llvm/llvm-project/pull/135287/files There is a potential
> case where the binding attribute has a slot = -1,
@@ -137,6 +137,42 @@ bool SemaSPIRV::CheckSPIRVBuiltinFunctionCall(unsigned
BuiltinID,
TheCall->setType(RetTy);
break;
}
+ case SPIRV::BI__builtin_spirv_faceforward: {
+if (SemaRef.checkArgCount(TheCall, 3))
+ return true;
+
+// check if all arguments h
https://github.com/kmpeng edited
https://github.com/llvm/llvm-project/pull/135878
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
mysterymath wrote:
This is causing a test failure in our clang CI bots:
https://luci-milo.appspot.com/ui/p/fuchsia/builders/toolchain.ci/clang-host-linux-x64/b8717414717471782065/overview
It doesn't seem that any error output is produced for the test though; do you
have an intuition for what's
https://github.com/bob80905 approved this pull request.
LGTM!
https://github.com/llvm/llvm-project/pull/135909
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/raoanag created
https://github.com/llvm/llvm-project/pull/136026
None
>From 3221715ed9c06f6ef05414ae79a6e3bc576d4ba8 Mon Sep 17 00:00:00 2001
From: Anagha Rajendra Rao
Date: Wed, 16 Apr 2025 11:47:27 -0700
Subject: [PATCH 1/2] Refract implementation
---
clang/test/CodeGenH
@@ -137,6 +137,42 @@ bool SemaSPIRV::CheckSPIRVBuiltinFunctionCall(unsigned
BuiltinID,
TheCall->setType(RetTy);
break;
}
+ case SPIRV::BI__builtin_spirv_faceforward: {
+if (SemaRef.checkArgCount(TheCall, 3))
+ return true;
+
+// check if all arguments h
@@ -0,0 +1,94 @@
+// RUN: %clang_cc1 -finclude-default-header -x hlsl -triple \
kmpeng wrote:
Code updated
https://github.com/llvm/llvm-project/pull/135878
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https:
https://github.com/bob80905 approved this pull request.
https://github.com/llvm/llvm-project/pull/134293
___
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-ppc64le-rhel`
running on `ppc64le-clang-rhel-test` while building `clang,compiler-rt,llvm` at
step 5 "build-unified-tree".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/145/builds/6404
Here i
Author: Vitaly Buka
Date: 2025-04-16T13:55:01-07:00
New Revision: cbbf6b487360a0926c88d512c986b3640136f91e
URL:
https://github.com/llvm/llvm-project/commit/cbbf6b487360a0926c88d512c986b3640136f91e
DIFF:
https://github.com/llvm/llvm-project/commit/cbbf6b487360a0926c88d512c986b3640136f91e.diff
L
https://github.com/vitalybuka closed
https://github.com/llvm/llvm-project/pull/136029
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/vitalybuka created
https://github.com/llvm/llvm-project/pull/136029
Reverts llvm/llvm-project#136002
Not needed any more.
>From 9d2bc671fe2c22f84d736820e3c63617139ef2e3 Mon Sep 17 00:00:00 2001
From: Vitaly Buka
Date: Wed, 16 Apr 2025 13:54:29 -0700
Subject: [PATCH] =?UTF-8
https://github.com/sharadhr edited
https://github.com/llvm/llvm-project/pull/121046
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/sharadhr edited
https://github.com/llvm/llvm-project/pull/121046
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/asudarsa updated
https://github.com/llvm/llvm-project/pull/135683
>From 597fda606efbcf10304fed4adc5dd85da34b3de3 Mon Sep 17 00:00:00 2001
From: Arvind Sudarsanam
Date: Mon, 14 Apr 2025 14:16:05 -0700
Subject: [PATCH 1/4] [SYCL] Add clang-linker-wrapper changes to call
clang-
@@ -6097,10 +6097,29 @@ const char *Driver::GetNamedOutputPath(Compilation &C,
const JobAction &JA,
}
llvm::PrettyStackTraceString CrashInfo("Computing output path");
+
// Output to a user requested destination?
if (AtTopLevel && !isa(JA) && !isa(JA)) {
-if (Arg
https://github.com/sharadhr edited
https://github.com/llvm/llvm-project/pull/121046
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: David Truby
Date: 2025-04-16T23:26:20+01:00
New Revision: e64305096a3d1ec122953be6e7008fbf05467d73
URL:
https://github.com/llvm/llvm-project/commit/e64305096a3d1ec122953be6e7008fbf05467d73
DIFF:
https://github.com/llvm/llvm-project/commit/e64305096a3d1ec122953be6e7008fbf05467d73.diff
L
https://github.com/DavidTruby closed
https://github.com/llvm/llvm-project/pull/133775
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/Bigcheese created
https://github.com/llvm/llvm-project/pull/136046
Reland https://github.com/llvm/llvm-project/pull/133173. This changes the
assembly code to use `.cfi_{start,end}proc` directly in a file scope asm
statement and restricts enabling it to MachO to help ensure t
Author: Vitaly Buka
Date: 2025-04-16T14:59:18-07:00
New Revision: 6727d588919a49ae14d0857d2a642099098c9194
URL:
https://github.com/llvm/llvm-project/commit/6727d588919a49ae14d0857d2a642099098c9194
DIFF:
https://github.com/llvm/llvm-project/commit/6727d588919a49ae14d0857d2a642099098c9194.diff
L
@@ -387,21 +387,39 @@ foreach( t ${LIBCLC_TARGETS_TO_BUILD} )
message( STATUS " device: ${d} ( ${${d}_aliases} )" )
-if ( ARCH STREQUAL spirv OR ARCH STREQUAL spirv64 )
+# 1.2 is Clang's default OpenCL C language standard to compile for.
+set( opencl_lang_std
@@ -387,21 +387,39 @@ foreach( t ${LIBCLC_TARGETS_TO_BUILD} )
message( STATUS " device: ${d} ( ${${d}_aliases} )" )
-if ( ARCH STREQUAL spirv OR ARCH STREQUAL spirv64 )
+# 1.2 is Clang's default OpenCL C language standard to compile for.
+set( opencl_lang_std
https://github.com/wenju-he updated
https://github.com/llvm/llvm-project/pull/135733
>From 64d7bfdceb5a0a6fbf34bb15cd7d6cbeb9214881 Mon Sep 17 00:00:00 2001
From: Wenju He
Date: Mon, 14 Apr 2025 19:20:25 -0700
Subject: [PATCH 1/4] [libclc] Set OpenCL version to 3.0
This PR is cherry-pick of ht
https://github.com/jeremyd2019 updated
https://github.com/llvm/llvm-project/pull/135691
>From df6e55b21f2eca0d62c9c306fd0d00280f578861 Mon Sep 17 00:00:00 2001
From: Jeremy Drake
Date: Mon, 14 Apr 2025 10:37:59 -0700
Subject: [PATCH] [Clang] [Driver] add a Cygwin ToolChain
Add a new Cygwin too
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/zibi2 updated
https://github.com/llvm/llvm-project/pull/135842
>From b162b0476058c40b2fcbf7ef397696caead11a7f Mon Sep 17 00:00:00 2001
From: Zibi Sarbinowski
Date: Tue, 15 Apr 2025 19:10:02 +
Subject: [PATCH] Mark the file opened by DeserializedDeclsSourceRangePrinter
as
https://github.com/owenca closed
https://github.com/llvm/llvm-project/pull/135906
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/zyn0217 updated
https://github.com/llvm/llvm-project/pull/135914
>From 7d39d1a66c171bc6e44742c0baea5bcab777bacd Mon Sep 17 00:00:00 2001
From: Younan Zhang
Date: Wed, 16 Apr 2025 13:27:54 +0800
Subject: [PATCH 1/3] Reapply "[Clang] Fix dependent local class instantiation
bug
@@ -347,7 +347,7 @@ ParsedType Sema::getDestructorName(const IdentifierInfo &II,
QualType T =
CheckTypenameType(ElaboratedTypeKeyword::None, SourceLocation(),
SS.getWithLocInContext(Context), II, NameLoc);
-return ParsedType::make(T);
+
https://github.com/owenca created
https://github.com/llvm/llvm-project/pull/136073
Fix #135972
>From 805e9e4eaf433749b42c64a44d4b936c5ba2cae9 Mon Sep 17 00:00:00 2001
From: Owen Pan
Date: Wed, 16 Apr 2025 18:54:28 -0700
Subject: [PATCH] [clang-format] Fix a bug in annotating TT_PointerOrRefere
wenju-he wrote:
> Yes I think on reflection it's probably okay to compile for the highest
> supported OpenCL C version.
Yeah I think libclc should compile for the version that target claims
supporting.
> I believe they're supersets of one another, so a 3.0 builtins library would
> still con
wenju-he wrote:
> Another question would be whether or not we should be advertising a 2.X or
> 3.X library if we don't have all the builtins? Is this a degradation? That
> might depend on downstream toolchains and if/how they react to versioning
> info in the LLVM IR.
We can incrementally add
401 - 474 of 474 matches
Mail list logo