@@ -298,3 +298,11 @@ multiclass ZAAddSub {
defm SVADD : ZAAddSub<"add">;
defm SVSUB : ZAAddSub<"sub">;
+
+//
+// Spill and fill of ZT0
+//
+let TargetGuard = "sme2" in {
+ def SVLDR_ZT : Inst<"svldr_zt", "viQ", "", MergeNone, "aarch64_sme_ldr_zt",
[IsOverloadNone,
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Matthew Devereau (MDevereau)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/74303.diff
1 Files Affected:
- (modified) clang/include/clang/Basic/arm_sme.td (+1-1)
``diff
diff --git
https://github.com/MDevereau created
https://github.com/llvm/llvm-project/pull/74303
None
>From de96ce8075385a3404a24e6cb7d81e46e23f8089 Mon Sep 17 00:00:00 2001
From: Matt Devereau
Date: Mon, 4 Dec 2023 10:55:24 +
Subject: [PATCH] [AArch64][SME2] Remove IsPreservesZA from ldr_zt builtin
https://github.com/nikic commented:
LoopUnroll supports upper bound unrolling. Why is it not working in this case?
https://github.com/llvm/llvm-project/pull/74268
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
@@ -2229,6 +2231,12 @@ void NeonEmitter::runHeader(raw_ostream ) {
static void emitNeonTypeDefs(const std::string& types, raw_ostream ) {
std::string TypedefTypes(types);
std::vector TDTypeVec = TypeSpec::fromTypeSpecs(TypedefTypes);
+ // arm_sve.h followed by arm_neon.h
@@ -2546,6 +2555,53 @@ void NeonEmitter::runFP16(raw_ostream ) {
OS << "#endif /* __ARM_FP16_H */\n";
}
+void NeonEmitter::runVectorType(raw_ostream ) {
+ OS << "/*=== arm_vector_types - ARM vector type "
+"--===\n"
+" *\n"
+" *\n"
+
@@ -2229,6 +2231,12 @@ void NeonEmitter::runHeader(raw_ostream ) {
static void emitNeonTypeDefs(const std::string& types, raw_ostream ) {
std::string TypedefTypes(types);
std::vector TDTypeVec = TypeSpec::fromTypeSpecs(TypedefTypes);
+ // arm_sve.h followed by arm_neon.h
@@ -0,0 +1,13 @@
+//===--- arm_vector_types.td - ARM Fixed vector types compiler interface
---===//
+//
+// 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:
nicovank wrote:
I've made it my primary email, if it's not an option, `@fb`, `@gmail`, or the
GitHub indirection is fine.
https://github.com/llvm/llvm-project/assets/7906725/6ae684b4-429b-4f09-bb97-f4525422da39;>
https://github.com/llvm/llvm-project/pull/72385
kiranchandramohan wrote:
Just a drive-through comment. The CI is failing for the following two tests.
Clang :: CodeGen/aapcs-align.cpp
Clang :: CodeGen/aapcs64-align.cpp
https://github.com/llvm/llvm-project/pull/73258
___
cfe-commits mailing list
https://github.com/banach-space approved this pull request.
LGTM, ta!
https://github.com/llvm/llvm-project/pull/74250
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
bcl5980 wrote:
We need at lease one more IR test.
https://github.com/llvm/llvm-project/pull/74268
___
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
Author: None (martinboehme)
Changes
Reverts llvm/llvm-project#73978
---
Full diff: https://github.com/llvm/llvm-project/pull/74299.diff
2 Files Affected:
- (modified) clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp (+2-5)
-
PiotrZSL wrote:
@nicovank "nvankem...@fb.com" is fine ? To enable "meta.com" you may need to
add this email in github and confirm it. Then it will allow you to select it as
"default".
https://github.com/llvm/llvm-project/pull/72385
___
cfe-commits
https://github.com/martinboehme closed
https://github.com/llvm/llvm-project/pull/74299
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: martinboehme
Date: 2023-12-04T11:27:31+01:00
New Revision: 3b6d63c5193bf5e3ce04c71703fc5c681a62f094
URL:
https://github.com/llvm/llvm-project/commit/3b6d63c5193bf5e3ce04c71703fc5c681a62f094
DIFF:
https://github.com/llvm/llvm-project/commit/3b6d63c5193bf5e3ce04c71703fc5c681a62f094.diff
https://github.com/martinboehme created
https://github.com/llvm/llvm-project/pull/74299
Reverts llvm/llvm-project#73978
>From 8e476a4944f7ff27b289620740b1d23aa9c57c88 Mon Sep 17 00:00:00 2001
From: martinboehme
Date: Mon, 4 Dec 2023 11:27:14 +0100
Subject: [PATCH]
martinboehme wrote:
> @bazuzi and @martinboehme this change seems to be causing a test failure on
> many bots. Can you take a look and revert if you need time to investigate?
>
> * https://lab.llvm.org/buildbot/#/builders/139/builds/54773
> *
@@ -4742,6 +4742,16 @@ void Clang::ConstructJob(Compilation , const JobAction
,
Args.ClaimAllArgs(options::OPT_gen_cdb_fragment_path);
}
+ if (TC.getTriple().isAMDGPU() && types::isOpenCL(Input.getType())) {
+if (Args.getLastArg(options::OPT_mprintf_kind_EQ)) {
+
jayfoad wrote:
Hi, on my Release+Asserts build this is causing:
```
FAIL: Clang-Unit ::
Analysis/FlowSensitive/./ClangAnalysisFlowSensitiveTests/32/38 (134 of 658)
TEST 'Clang-Unit ::
Analysis/FlowSensitive/./ClangAnalysisFlowSensitiveTests/32/38' FAILED
tblah wrote:
> @tblah Would you mind trying this new option with one application code to see
> if that will help?
Yes this flag works for me, thanks! I think it would be a shame to require a
flag not needed for classic-flang or gfortran, but we can come back to this.
This solution is good
@@ -4742,6 +4742,16 @@ void Clang::ConstructJob(Compilation , const JobAction
,
Args.ClaimAllArgs(options::OPT_gen_cdb_fragment_path);
}
+ if (TC.getTriple().isAMDGPU() && types::isOpenCL(Input.getType())) {
+if (Args.getLastArg(options::OPT_mprintf_kind_EQ)) {
+
dyung wrote:
@bazuzi and @martinboehme this change seems to be causing a test failure on
many bots. Can you take a look and revert if you need time to investigate?
- https://lab.llvm.org/buildbot/#/builders/139/builds/54773
- https://lab.llvm.org/buildbot/#/builders/216/builds/31319
-
@@ -4742,6 +4742,16 @@ void Clang::ConstructJob(Compilation , const JobAction
,
Args.ClaimAllArgs(options::OPT_gen_cdb_fragment_path);
}
+ if (TC.getTriple().isAMDGPU() && types::isOpenCL(Input.getType())) {
+if (Args.getLastArg(options::OPT_mprintf_kind_EQ)) {
+
@@ -170,20 +173,49 @@ static Value *appendString(IRBuilder<> , Value
*Desc, Value *Arg,
return callAppendStringN(Builder, Desc, Arg, Length, IsLast);
}
+static Value *appendVectorArg(IRBuilder<> , Value *Desc, Value *Arg,
+ bool IsLast, bool
https://github.com/nicovank updated
https://github.com/llvm/llvm-project/pull/72385
>From c6b5aac2b5a3d90d11a8fc0d092c2e794cff5856 Mon Sep 17 00:00:00 2001
From: Nicolas van Kempen
Date: Wed, 15 Nov 2023 01:13:10 -0800
Subject: [PATCH] [clang-tidy] Add new modernize-use-starts-ends-with check
nicovank wrote:
Thanks! There should be no more warning.
I tried to edit my GitHub settings, great if it worked, otherwise GitHub or
personal email is fine.
https://github.com/llvm/llvm-project/pull/72385
___
cfe-commits mailing list
Fznamznon wrote:
I'm not sure I understand why gcc is giving an error in
https://godbolt.org/z/qGfnzhfsK. It doesn't give an error with `typename`
keyword and I think there shouldn't be any difference since `Y::E` refers to
current instantiation and is being used by class member declaration
https://github.com/owenca updated
https://github.com/llvm/llvm-project/pull/74293
>From a394ac020c1045705fb2898d32754bdf12fac4bd Mon Sep 17 00:00:00 2001
From: Owen Pan
Date: Mon, 4 Dec 2023 01:03:18 -0800
Subject: [PATCH] [clang-format] Fix a bug in `git-clang-format --binary`
This is a
nunoplopes wrote:
FWIW, Alive2 is complaining about this commit. These patches are not safe
w.r.t. undef.
https://github.com/llvm/llvm-project/pull/72912
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
llvmbot wrote:
@llvm/pr-subscribers-clang-static-analyzer-1
@llvm/pr-subscribers-clang
Author: Ben Shi (benshi001)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/74296.diff
3 Files Affected:
- (modified) clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp (+16)
-
https://github.com/benshi001 created
https://github.com/llvm/llvm-project/pull/74296
None
>From 2929f07a9ac2c462bf7aed9fe10307ef79659074 Mon Sep 17 00:00:00 2001
From: Ben Shi
Date: Mon, 4 Dec 2023 15:51:20 +0800
Subject: [PATCH] [clang][analyzer] Support `fflush` in the StreamChecker
---
https://github.com/ssahasra closed
https://github.com/llvm/llvm-project/pull/73906
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Sameer Sahasrabuddhe
Date: 2023-12-04T15:15:02+05:30
New Revision: 9db642394dee768e8a4404978c0e5d3af07fed17
URL:
https://github.com/llvm/llvm-project/commit/9db642394dee768e8a4404978c0e5d3af07fed17
DIFF:
https://github.com/kiranchandramohan approved this pull request.
LGTM. Thanks.
https://github.com/llvm/llvm-project/pull/74250
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
sdkrystian wrote:
Ping @erichkeane
https://github.com/llvm/llvm-project/pull/72863
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
nikic wrote:
> Could you please rebase this patch on #74246 and add a test for #74242?
Done. The new test is `@div_by_zero_or_one_from_dom_cond`.
https://github.com/llvm/llvm-project/pull/73662
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://github.com/PiotrZSL approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/74215
___
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-format
Author: Owen Pan (owenca)
Changes
This is a rework of #74176.
---
Full diff: https://github.com/llvm/llvm-project/pull/74293.diff
1 Files Affected:
- (modified) clang/tools/clang-format/git-clang-format (+3-2)
``diff
diff
https://github.com/owenca created
https://github.com/llvm/llvm-project/pull/74293
This is a rework of #74176.
>From fddf15404c0f5de2d9b264413b94d45a4a73edde Mon Sep 17 00:00:00 2001
From: Owen Pan
Date: Mon, 4 Dec 2023 01:03:18 -0800
Subject: [PATCH] [clang-format] Fix a bug in
https://github.com/martinboehme closed
https://github.com/llvm/llvm-project/pull/73978
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Samira Bazuzi
Date: 2023-12-04T10:10:07+01:00
New Revision: a3fe9cb24da302a40c53d187271e472a6432c4f1
URL:
https://github.com/llvm/llvm-project/commit/a3fe9cb24da302a40c53d187271e472a6432c4f1
DIFF:
https://github.com/llvm/llvm-project/commit/a3fe9cb24da302a40c53d187271e472a6432c4f1.diff
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Craig Hesling (linux4life798)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/74292.diff
2 Files Affected:
- (modified) clang/bindings/python/README.txt (+1-1)
- (modified) clang/bindings/python/clang/cindex.py
https://github.com/linux4life798 created
https://github.com/llvm/llvm-project/pull/74292
None
>From 22b357ace6de02e537b5fbc217febe8cd59ae40a Mon Sep 17 00:00:00 2001
From: Craig Hesling
Date: Sun, 3 Dec 2023 15:59:00 -0800
Subject: [PATCH 1/2] [libclang/python] Update README.txt path
Update
Author: Chuanqi Xu
Date: 2023-12-04T17:05:27+08:00
New Revision: db3d0e4dfa34e59fab90c0726a6722f82db48462
URL:
https://github.com/llvm/llvm-project/commit/db3d0e4dfa34e59fab90c0726a6722f82db48462
DIFF:
https://github.com/llvm/llvm-project/commit/db3d0e4dfa34e59fab90c0726a6722f82db48462.diff
llvmbot wrote:
@llvm/pr-subscribers-clang-static-analyzer-1
Author: Ben Shi (benshi001)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/74291.diff
1 Files Affected:
- (modified) clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp (+3)
``diff
diff --git
https://github.com/benshi001 created
https://github.com/llvm/llvm-project/pull/74291
None
>From 2b8903b380c38c2d7f50491da75cec25ff4b801c Mon Sep 17 00:00:00 2001
From: Ben Shi
Date: Mon, 4 Dec 2023 16:41:46 +0800
Subject: [PATCH] [clang][analyzer][NFC] Supplement comments in `evalFtell` of
https://github.com/phoebewang approved this pull request.
LGTM.
https://github.com/llvm/llvm-project/pull/74199
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/KanRobert edited
https://github.com/llvm/llvm-project/pull/74199
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -422,3 +422,28 @@
// RUN: touch %t.o
// RUN: %clang -fdriver-only -Werror --target=x86_64-pc-linux-gnu
-mharden-sls=all %t.o -o /dev/null 2>&1 | count 0
+// RUN: %clang -target x86_64-unknown-linux-gnu -mapxf %s -### -o %t.o 2>&1 |
FileCheck -check-prefix=APXF %s
https://github.com/KanRobert updated
https://github.com/llvm/llvm-project/pull/74199
>From 246d6e2bc3f6fb60623b5d4c3f07b53c628ed88a Mon Sep 17 00:00:00 2001
From: Shengchen Kan
Date: Sat, 2 Dec 2023 23:52:53 +0800
Subject: [PATCH 1/8] [X86] Support CFE flags for APX features
Positive options:
xiangzh1 wrote:
> > > And I think you need to precommit tests first.
Done
> > In fact, there is no direct/strong relation with stack cost, it mostly base
> > on unroll or not (or other loop optimizations). Maybe we should check
> > "unroll" info (e.g #pragma unroll, any targets with this hint
https://github.com/xiangzh1 edited
https://github.com/llvm/llvm-project/pull/74268
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/xiangzh1 edited
https://github.com/llvm/llvm-project/pull/74268
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
4vtomat wrote:
Resolved the comments and also modified the commit messages.
https://github.com/llvm/llvm-project/pull/73765
___
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/73765
>From 0c5f7497a8ce41695cba8f16a9402d74e4f798ea Mon Sep 17 00:00:00 2001
From: Brandon Wu
Date: Wed, 29 Nov 2023 00:27:25 -0800
Subject: [PATCH 1/2] [RISCV] Implement multi-lib reuse rule for RISC-V
bare-metal
https://github.com/xiangzh1 updated
https://github.com/llvm/llvm-project/pull/74268
>From 21fef821eb83d0d426a5e2de20469dcdd41598f1 Mon Sep 17 00:00:00 2001
From: Zhang Xiang
Date: Mon, 4 Dec 2023 16:25:37 +0800
Subject: [PATCH 1/2] [SimplifyCFG] Pre-commit test for folding branches in
@@ -0,0 +1,86 @@
+// Test case for scanning input of GCC output as multilib config
4vtomat wrote:
No we don't use gcc, it's a copy mistake from downstream lol~
https://github.com/llvm/llvm-project/pull/73765
___
@@ -1715,6 +1716,129 @@ static void findCSKYMultilibs(const Driver , const
llvm::Triple ,
Result.Multilibs = CSKYMultilibs;
}
+/// Extend the multi-lib re-use selection mechanism for RISC-V.
+/// This funciton will try to re-use multi-lib if they are compatible.
+///
https://github.com/martinboehme closed
https://github.com/llvm/llvm-project/pull/73860
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: martinboehme
Date: 2023-12-04T09:29:22+01:00
New Revision: 71f2ec2db1295462d61e1407fcc1e715ba5d458b
URL:
https://github.com/llvm/llvm-project/commit/71f2ec2db1295462d61e1407fcc1e715ba5d458b
DIFF:
https://github.com/llvm/llvm-project/commit/71f2ec2db1295462d61e1407fcc1e715ba5d458b.diff
@@ -1715,6 +1716,129 @@ static void findCSKYMultilibs(const Driver , const
llvm::Triple ,
Result.Multilibs = CSKYMultilibs;
}
+/// Extend the multi-lib re-use selection mechanism for RISC-V.
+/// This funciton will try to re-use multi-lib if they are compatible.
+///
martinboehme wrote:
> Overall, I love it! I have some comments on some features in the future, but
> those are probably not going to be addressed any time soon. First of all, I
> think in the future when we reason about the values of the pointers,
> synthetic fields might need to have offsets
@@ -5999,6 +5999,12 @@ def mno_gather : Flag<["-"], "mno-gather">,
Group,
HelpText<"Disable generation of gather instructions in
auto-vectorization(x86 only)">;
def mno_scatter : Flag<["-"], "mno-scatter">, Group,
HelpText<"Disable
https://github.com/KanRobert updated
https://github.com/llvm/llvm-project/pull/74199
>From 246d6e2bc3f6fb60623b5d4c3f07b53c628ed88a Mon Sep 17 00:00:00 2001
From: Shengchen Kan
Date: Sat, 2 Dec 2023 23:52:53 +0800
Subject: [PATCH 1/7] [X86] Support CFE flags for APX features
Positive options:
@@ -1715,6 +1716,129 @@ static void findCSKYMultilibs(const Driver , const
llvm::Triple ,
Result.Multilibs = CSKYMultilibs;
}
+/// Extend the multi-lib re-use selection mechanism for RISC-V.
+/// This funciton will try to re-use multi-lib if they are compatible.
+///
@@ -1715,6 +1716,129 @@ static void findCSKYMultilibs(const Driver , const
llvm::Triple ,
Result.Multilibs = CSKYMultilibs;
}
+/// Extend the multi-lib re-use selection mechanism for RISC-V.
+/// This funciton will try to re-use multi-lib if they are compatible.
+///
https://github.com/KanRobert edited
https://github.com/llvm/llvm-project/pull/74199
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -422,3 +422,28 @@
// RUN: touch %t.o
// RUN: %clang -fdriver-only -Werror --target=x86_64-pc-linux-gnu
-mharden-sls=all %t.o -o /dev/null 2>&1 | count 0
+// RUN: %clang -target x86_64-unknown-linux-gnu -mapxf %s -### -o %t.o 2>&1 |
FileCheck -check-prefix=APXF %s
+//
https://github.com/KanRobert updated
https://github.com/llvm/llvm-project/pull/74199
>From 246d6e2bc3f6fb60623b5d4c3f07b53c628ed88a Mon Sep 17 00:00:00 2001
From: Shengchen Kan
Date: Sat, 2 Dec 2023 23:52:53 +0800
Subject: [PATCH 1/6] [X86] Support CFE flags for APX features
Positive options:
301 - 370 of 370 matches
Mail list logo