https://github.com/sdesmalen-arm closed
https://github.com/llvm/llvm-project/pull/96482
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Sander de Smalen
Date: 2024-06-24T20:31:22+01:00
New Revision: 09c0337a581dfd8f39df131786cfc7f675adf483
URL:
https://github.com/llvm/llvm-project/commit/09c0337a581dfd8f39df131786cfc7f675adf483
DIFF:
https://github.com/llvm/llvm-project/commit/09c0337a581dfd8f39df131786cfc7f675adf483.di
https://github.com/jyu2-git approved this pull request.
LGTM. Thanks!
https://github.com/llvm/llvm-project/pull/94696
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
SLTozer wrote:
> Looks like using InsertPosition in IRBuilder has some overhead:
Hm, we're adding an extra pointer chase when we give up passing a basicblock -
I think then it makes sense to keep the option to pass BB+It, and do so when
the caller already knows the BB (while removing the need
https://github.com/PeterChou1 updated
https://github.com/llvm/llvm-project/pull/96358
>From bb407e7c6de15d7ed2f0dd645ca2a469ee1f8a8e Mon Sep 17 00:00:00 2001
From: PeterChou1
Date: Fri, 21 Jun 2024 16:57:30 -0400
Subject: [PATCH 1/3] Revert "Revert "[clang-doc] Add --asset option to
clang-doc"
@@ -0,0 +1,9 @@
+; RUN: mlir-translate -import-llvm -split-input-file %s | FileCheck %s
+
+; CHECK-LABEL: llvm.func @tune_cpu()
+; CHECK-SAME: tune_cpu = "pentium4"
AlexisPerry wrote:
Alright, after some digging, I can confirm that `tune-cpu` is listed among the
https://github.com/PeterChou1 updated
https://github.com/llvm/llvm-project/pull/96358
>From bb407e7c6de15d7ed2f0dd645ca2a469ee1f8a8e Mon Sep 17 00:00:00 2001
From: PeterChou1
Date: Fri, 21 Jun 2024 16:57:30 -0400
Subject: [PATCH 1/4] Revert "Revert "[clang-doc] Add --asset option to
clang-doc"
https://github.com/AlexisPerry updated
https://github.com/llvm/llvm-project/pull/95043
>From 2312d31b14aecc6eeea2e81d221ee004e5de3efc Mon Sep 17 00:00:00 2001
From: Alexis Perry-Holby
Date: Thu, 6 Jun 2024 14:02:52 -0600
Subject: [PATCH 01/11] [flang] Add basic -mtune support
---
clang/includ
@@ -127,16 +133,86 @@ std::string getFormatString() {
// GetMainExecutable (since some platforms don't support taking the
// address of main, and some platforms can't implement GetMainExecutable
// without being given the address of a function in the main executable).
-std::str
@@ -0,0 +1,2 @@
+// RUN: clang-doc --format=html --executor=standalone %s -output=%t/docs |
FileCheck %s
+// CHECK: Using default asset: {{.*}}{{[\/]}}share{{[\/]}}clang
PeterChou1 wrote:
I added a much more comprehensive test now I think
https://github.com/llv
@@ -182,23 +258,9 @@ Example usage for a project using a compile commands
database:
{"index.js", "index_json.js"}};
if (Format == "html") {
-void *MainAddr = (void *)(intptr_t)GetExecutablePath;
-std::string ClangDocPath = GetExecutablePath(argv[0], MainAddr);
PeterChou1 wrote:
@ilovepi
I've refactor the PR to address Nico comments I think you might want to relook
at the PR just in case
https://github.com/llvm/llvm-project/pull/96358
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.ll
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `sanitizer-x86_64-linux`
running on `sanitizer-buildbot2` while building `clang` at step 2 "annotate".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/66/builds/526
Here is the relevant piece of the bui
@@ -147,6 +147,14 @@ getNVIDIAOffloadTargetTriple(const Driver &D, const
ArgList &Args,
static std::optional
getHIPOffloadTargetTriple(const Driver &D, const ArgList &Args) {
if (!Args.hasArg(options::OPT_offload_EQ)) {
+auto OffloadArchs = Args.getAllArgValues(options::
@@ -25,7 +25,7 @@ set(assets
)
set(asset_dir "${CMAKE_CURRENT_SOURCE_DIR}/../assets")
-set(resource_dir "${CMAKE_BINARY_DIR}/share/clang")
ilovepi wrote:
Can we do this updating in a standalone patch? Same for the other places where
you've updated the path.
@@ -0,0 +1,22 @@
+// RUN: rm -rf %t && mkdir -p %t/docs %t/build
ilovepi wrote:
do you need `%t/build`? if not, then you can probably just use `%t` instead of
`%t/docs`.
https://github.com/llvm/llvm-project/pull/96358
___
preames wrote:
Chatted with @patrick-rivos on the status of TSO. The following is my summary:
* psABI changes have landed which change the default for WMO to what we used to
call the "A6/A7 compatibility table". The TSO change which landed to psABI
defines a mapping which is compatible with t
@@ -25,7 +25,7 @@ set(assets
)
set(asset_dir "${CMAKE_CURRENT_SOURCE_DIR}/../assets")
-set(resource_dir "${CMAKE_BINARY_DIR}/share/clang")
ilovepi wrote:
Oh, it also fails to update the install target paths, which will be installed
in `share/clang`. So even
@@ -147,6 +147,14 @@ getNVIDIAOffloadTargetTriple(const Driver &D, const
ArgList &Args,
static std::optional
getHIPOffloadTargetTriple(const Driver &D, const ArgList &Args) {
if (!Args.hasArg(options::OPT_offload_EQ)) {
+auto OffloadArchs = Args.getAllArgValues(options::
topperc wrote:
CC: @ilovepi who was missing with Atomic ABI attributes in
https://github.com/llvm/llvm-project/pull/90266
https://github.com/llvm/llvm-project/pull/96465
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cg
https://github.com/arsenm approved this pull request.
https://github.com/llvm/llvm-project/pull/89217
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
ilovepi wrote:
> CC: @ilovepi who was missing with Atomic ABI attributes in #90266
I'll try to get that out today, and then at least this won't be blocked on
anything. That said, the story on Linker support isn't clear to me about what
expectations we should have. I imagine a lot of that will
https://github.com/mikerice1969 closed
https://github.com/llvm/llvm-project/pull/94806
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Mike Rice
Date: 2024-06-24T13:31:39-07:00
New Revision: b097018fdafe61f1fe10337a71f56e5386930d54
URL:
https://github.com/llvm/llvm-project/commit/b097018fdafe61f1fe10337a71f56e5386930d54
DIFF:
https://github.com/llvm/llvm-project/commit/b097018fdafe61f1fe10337a71f56e5386930d54.diff
LOG
https://github.com/PeterChou1 created
https://github.com/llvm/llvm-project/pull/96552
Removes stdexecpt from clang-doc test introduced in
https://github.com/llvm/llvm-project/pull/93928
since it violates the rule that test must be freestanding
>From e2dbf4944d1ad0eadccb85e2bd84344cddcd22cf Mon
llvmbot wrote:
@llvm/pr-subscribers-clang-tools-extra
Author: None (PeterChou1)
Changes
Removes stdexecpt from clang-doc test introduced in
https://github.com/llvm/llvm-project/pull/93928
since it violates the rule that test must be freestanding
---
Full diff: https://github.com/llvm/llv
https://github.com/mikerice1969 closed
https://github.com/llvm/llvm-project/pull/94696
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Mike Rice
Date: 2024-06-24T13:37:49-07:00
New Revision: 5413a2bb843a3c71e0891aa5984afd63cd580dea
URL:
https://github.com/llvm/llvm-project/commit/5413a2bb843a3c71e0891aa5984afd63cd580dea
DIFF:
https://github.com/llvm/llvm-project/commit/5413a2bb843a3c71e0891aa5984afd63cd580dea.diff
LOG
@@ -147,6 +147,14 @@ getNVIDIAOffloadTargetTriple(const Driver &D, const
ArgList &Args,
static std::optional
getHIPOffloadTargetTriple(const Driver &D, const ArgList &Args) {
if (!Args.hasArg(options::OPT_offload_EQ)) {
+auto OffloadArchs = Args.getAllArgValues(options::
nikic wrote:
> > Looks like using InsertPosition in IRBuilder has some overhead:
>
> Hm, we're adding an extra pointer chase when we give up passing a basicblock
> - I think then it makes sense to keep the option to pass BB+It, and do so
> when the caller already knows the BB (while removing t
AlexisPerry wrote:
Thanks for explaining more thoroughly. I have moved the test to the Driver
directory as requested.
https://github.com/llvm/llvm-project/pull/95043
___
cfe-commits mailing list
cfe-commits@lists.ll
https://github.com/PeterChou1 created
https://github.com/llvm/llvm-project/pull/96555
Updates the install path for clang-doc to share/clang-doc instead share/clang
to avoid confusion
>From 4f7de63a353d09c660afc6534f98bdeaaa7cf73d Mon Sep 17 00:00:00 2001
From: PeterChou1
Date: Mon, 24 Jun 202
llvmbot wrote:
@llvm/pr-subscribers-clang-tools-extra
Author: None (PeterChou1)
Changes
Updates the install path for clang-doc to share/clang-doc instead share/clang
to avoid confusion
---
Full diff: https://github.com/llvm/llvm-project/pull/96555.diff
2 Files Affected:
- (modified) c
https://github.com/DavidTruby created
https://github.com/llvm/llvm-project/pull/96557
Reverts llvm/llvm-project#90886
These changes broke linking to compiler-rt on Windows
>From 0f6f6ddbc0d84d2df23df8c8a771ace3c0dca988 Mon Sep 17 00:00:00 2001
From: David Truby
Date: Mon, 24 Jun 2024 21:53:39
llvmbot wrote:
@llvm/pr-subscribers-clang
@llvm/pr-subscribers-flang-driver
Author: David Truby (DavidTruby)
Changes
Reverts llvm/llvm-project#90886
These changes broke linking to compiler-rt on Windows
---
Full diff: https://github.com/llvm/llvm-project/pull/96557.diff
4 Files Affecte
https://github.com/petrhosek approved this pull request.
https://github.com/llvm/llvm-project/pull/96555
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1825,32 +1818,32 @@ def : ProcModel;
-def : Proc<"k6-2", [FeatureX87, FeatureCX8, Feature3DNow],
+def : Proc<"k6-2", [FeatureX87, FeatureCX8, FeatureMMX],
jyknight wrote:
Done.
https://github.com/llvm/llvm-project/pull/96246
_
https://github.com/PeterChou1 updated
https://github.com/llvm/llvm-project/pull/96358
>From bb407e7c6de15d7ed2f0dd645ca2a469ee1f8a8e Mon Sep 17 00:00:00 2001
From: PeterChou1
Date: Fri, 21 Jun 2024 16:57:30 -0400
Subject: [PATCH 1/2] Revert "Revert "[clang-doc] Add --asset option to
clang-doc"
https://github.com/earnol updated
https://github.com/llvm/llvm-project/pull/96240
>From a6b6a1cf8ded271e1b1f29ad67daf77e135e0a7b Mon Sep 17 00:00:00 2001
From: Vladislav Aranov
Date: Fri, 24 May 2024 11:39:35 -0400
Subject: [PATCH] [ubsan] Display correct runtime messages for negative _BitInt
https://github.com/PeterChou1 updated
https://github.com/llvm/llvm-project/pull/96358
>From bb407e7c6de15d7ed2f0dd645ca2a469ee1f8a8e Mon Sep 17 00:00:00 2001
From: PeterChou1
Date: Fri, 21 Jun 2024 16:57:30 -0400
Subject: [PATCH 1/2] Revert "Revert "[clang-doc] Add --asset option to
clang-doc"
https://github.com/ilovepi approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/96552
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -25,7 +25,7 @@ set(assets
)
set(asset_dir "${CMAKE_CURRENT_SOURCE_DIR}/../assets")
-set(resource_dir "${CMAKE_BINARY_DIR}/share/clang")
PeterChou1 wrote:
this PR is moved to https://github.com/llvm/llvm-project/pull/96555
https://github.com/llvm/llvm-proj
@@ -0,0 +1,22 @@
+// RUN: rm -rf %t && mkdir -p %t/docs %t/build
PeterChou1 wrote:
my bad i just blindly copied from the previous test cases, yes %t would
probably work better
https://github.com/llvm/llvm-project/pull/96358
_
https://github.com/PeterChou1 updated
https://github.com/llvm/llvm-project/pull/96358
>From bb407e7c6de15d7ed2f0dd645ca2a469ee1f8a8e Mon Sep 17 00:00:00 2001
From: PeterChou1
Date: Fri, 21 Jun 2024 16:57:30 -0400
Subject: [PATCH 1/3] Revert "Revert "[clang-doc] Add --asset option to
clang-doc"
https://github.com/kovdan01 ready_for_review
https://github.com/llvm/llvm-project/pull/96478
___
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
@llvm/pr-subscribers-backend-aarch64
Author: Daniil Kovalev (kovdan01)
Changes
Depends on #96477
If both `-fptrauth-init-fini` and `-fptrauth-calls` are passed, sign function
pointers in `llvm.global_ctors` and `llvm.global_dtors` with constant
llvmbot wrote:
@llvm/pr-subscribers-backend-x86
Author: Daniil Kovalev (kovdan01)
Changes
Depends on #96477
If both `-fptrauth-init-fini` and `-fptrauth-calls` are passed, sign function
pointers in `llvm.global_ctors` and `llvm.global_dtors` with constant
discriminator 0xD9D4 (`ptrauth_
https://github.com/kovdan01 milestoned
https://github.com/llvm/llvm-project/pull/96478
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -0,0 +1,22 @@
+// RUN: rm -rf %t && mkdir %t
+// RUN: clang-doc --format=html --output=%t --asset=%S/Inputs/test-assets
--executor=standalone %s --output=%t/docs
+// RUN: FileCheck %s -input-file=%t/docs/index.html -check-prefix=INDEX
+// RUN: FileCheck %s -input-file=%t/docs/
@@ -1,5 +1,4 @@
#include "Calculator.h"
-#include
ilovepi wrote:
can we leave the changes in #96552 out of this patch?
https://github.com/llvm/llvm-project/pull/96358
___
cfe-commits mailing list
cfe-commits@lists.ll
https://github.com/jhuber6 created
https://github.com/llvm/llvm-project/pull/96561
Summary:
The `clang-nvlink-wrapper` is a utility that I removed awhile back
during the transition to the new driver. This patch adds back in a new,
upgraded version that does LTO + archive linking. It's not an eas
llvmbot wrote:
@llvm/pr-subscribers-clang-driver
Author: Joseph Huber (jhuber6)
Changes
Summary:
The `clang-nvlink-wrapper` is a utility that I removed awhile back
during the transition to the new driver. This patch adds back in a new,
upgraded version that does LTO + archive linking. It's
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Joseph Huber (jhuber6)
Changes
Summary:
The `clang-nvlink-wrapper` is a utility that I removed awhile back
during the transition to the new driver. This patch adds back in a new,
upgraded version that does LTO + archive linking. It's not an
https://github.com/jhuber6 edited
https://github.com/llvm/llvm-project/pull/96561
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ille-apple edited
https://github.com/llvm/llvm-project/pull/89475
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ille-apple edited
https://github.com/llvm/llvm-project/pull/89475
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -2764,6 +2794,9 @@ void CodeGenFunction::emitByrefStructureInit(const
AutoVarEmission &emission) {
auto layoutInfo = CGM.getObjCRuntime().BuildByrefLayout(CGM, type);
storeHeaderField(layoutInfo, getPointerSize(), "byref.layout");
}
+
+ if (emission.NeedsInitOnHe
a-tarasyuk wrote:
Ping
https://github.com/llvm/llvm-project/pull/92963
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/PeterChou1 updated
https://github.com/llvm/llvm-project/pull/96358
>From bb407e7c6de15d7ed2f0dd645ca2a469ee1f8a8e Mon Sep 17 00:00:00 2001
From: PeterChou1
Date: Fri, 21 Jun 2024 16:57:30 -0400
Subject: [PATCH 1/2] Revert "Revert "[clang-doc] Add --asset option to
clang-doc"
https://github.com/DeinAlptraum edited
https://github.com/llvm/llvm-project/pull/95608
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ilovepi closed
https://github.com/llvm/llvm-project/pull/90146
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
antangelo wrote:
The `preserve_none` calling convention is new in clang 19 and hasn't been
released yet; do fixes need a release note if they happen within the release
cycle a feature is added?
https://github.com/llvm/llvm-project/pull/96487
___
cfe
https://github.com/shawbyoung edited
https://github.com/llvm/llvm-project/pull/95821
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/shawbyoung updated
https://github.com/llvm/llvm-project/pull/95821
>From 9452bd574023a7aef75b609d36e0ffac68e1e03d Mon Sep 17 00:00:00 2001
From: Sayhaan Siddiqui
Date: Mon, 17 Jun 2024 11:11:07 -0700
Subject: [PATCH 01/21] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20?=
https://github.com/shawbyoung closed
https://github.com/llvm/llvm-project/pull/95821
___
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 `bolt-x86_64-ubuntu-shared`
running on `bolt-worker` while building `bolt` at step 5 "build-bolt".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/151/builds/367
Here is the relevant piece of the build
Author: Jon Roelofs
Date: 2024-06-24T15:35:53-07:00
New Revision: b3c668b0055717633503ed26787037d9e3499781
URL:
https://github.com/llvm/llvm-project/commit/b3c668b0055717633503ed26787037d9e3499781
DIFF:
https://github.com/llvm/llvm-project/commit/b3c668b0055717633503ed26787037d9e3499781.diff
L
https://github.com/ahatanak updated
https://github.com/llvm/llvm-project/pull/79230
>From 95200f3bb3859738981240a9d8c503a13ede9601 Mon Sep 17 00:00:00 2001
From: Akira Hatanaka
Date: Tue, 16 Jan 2024 13:18:09 -0800
Subject: [PATCH 01/19] Add support for builtin_verbose_trap
The builtin causes
https://github.com/mikerice1969 edited
https://github.com/llvm/llvm-project/pull/94691
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/mikerice1969 commented:
I both like and hate the huge fully-covered switches we have. I like when I add
new directives and know exactly where to add code. I hate having to read code
like this though. Seems like this is going in the right direction.
https://github.com/llvm/ll
@@ -2374,86 +2374,209 @@ Parser::DeclGroupPtrTy
Parser::ParseOpenMPDeclarativeDirectiveWithExtDecl(
case OMPD_unknown:
Diag(Tok, diag::err_omp_unknown_directive);
break;
- case OMPD_parallel:
- case OMPD_simd:
- case OMPD_tile:
- case OMPD_unroll:
- case OMPD_ta
@@ -2374,86 +2374,209 @@ Parser::DeclGroupPtrTy
Parser::ParseOpenMPDeclarativeDirectiveWithExtDecl(
case OMPD_unknown:
Diag(Tok, diag::err_omp_unknown_directive);
break;
- case OMPD_parallel:
- case OMPD_simd:
- case OMPD_tile:
- case OMPD_unroll:
- case OMPD_ta
dwblaikie wrote:
Hit an msan use-of-uninitialized on an internal use case (a tool that uses
Clang via API).
the test was compiling this source code:
```
#include
namespace proto2 {
struct Message {};
} // namespace proto2
struct FakeProto : proto2::Message {
const std::string& getter() cons
@@ -2002,6 +2003,76 @@ bool sys::getHostCPUFeatures(StringMap &Features) {
return true;
}
+#elif defined(__linux__) && defined(__riscv)
+// struct riscv_hwprobe
+struct RISCVHwProbe {
+ int64_t Key;
+ uint64_t Value;
+};
+bool sys::getHostCPUFeatures(StringMap &Features) {
https://github.com/PeterChou1 updated
https://github.com/llvm/llvm-project/pull/96358
>From bb407e7c6de15d7ed2f0dd645ca2a469ee1f8a8e Mon Sep 17 00:00:00 2001
From: PeterChou1
Date: Fri, 21 Jun 2024 16:57:30 -0400
Subject: [PATCH 1/3] Revert "Revert "[clang-doc] Add --asset option to
clang-doc"
https://github.com/zygoloid created
https://github.com/llvm/llvm-project/pull/96573
Explicitly describe how the Clang builtin works, given that it's not exactly
the same as GCC's builtin of the same name -- but is drop-in compatible.
Fixes #95635.
>From 3394d999888087535db9ede87668829eddc33ac
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Richard Smith (zygoloid)
Changes
Explicitly describe how the Clang builtin works, given that it's not exactly
the same as GCC's builtin of the same name -- but is drop-in compatible.
Fixes #95635.
---
Full diff: https://github.com/llvm/l
https://github.com/jhuber6 updated
https://github.com/llvm/llvm-project/pull/96561
>From 8a52becd358abb2c96ca150db501d58c40b5250b Mon Sep 17 00:00:00 2001
From: Joseph Huber
Date: Mon, 24 Jun 2024 15:14:52 -0500
Subject: [PATCH] [Clang] Introduce 'clang-nvlink-wrappaer' to work around
'nvlink'
jyknight wrote:
> I'd prefer we rip off ALL the 3dnow/mmx bandaid in one big series of patches
> - and not split across the 19.X/20.X releases.
The 3dnow part is a lot easier -- because it's not trying to be compatible,
just dropping support entirely. And I don't think anyone will care, since
@@ -2002,6 +2003,76 @@ bool sys::getHostCPUFeatures(StringMap &Features) {
return true;
}
+#elif defined(__linux__) && defined(__riscv)
+// struct riscv_hwprobe
+struct RISCVHwProbe {
+ int64_t Key;
+ uint64_t Value;
+};
+bool sys::getHostCPUFeatures(StringMap &Features) {
@@ -216,6 +228,35 @@ u64 GetShadowCount(uptr p, u32 size) {
return count;
}
+// Accumulates the access count from the shadow for the given pointer and size.
+// See memprof_mapping.h for an overview on histogram counters.
+u64 GetShadowCountHistogram(uptr p, u32 size) {
+ u
@@ -96,19 +102,63 @@ llvm::SmallVector readSegmentEntries(const
char *Ptr) {
}
llvm::SmallVector>
-readMemInfoBlocks(const char *Ptr) {
+readMemInfoBlocksV3(const char *Ptr) {
using namespace support;
const uint64_t NumItemsToRead =
- endian::readNext(Ptr);
+
@@ -20,25 +20,25 @@ CHECK-NEXT: -
CHECK: Records:
CHECK-NEXT: -
-CHECK-NEXT:FunctionGUID: 15505678318020221912
+CHECK-NEXT:FunctionGUID: 3873612792189045660
CHECK-NEXT:AllocSites:
CHECK-NEXT:-
CHECK-NEXT: Callstack:
CHECK-NEXT: -
-CHECK-NEXT:
Author: David Truby
Date: 2024-06-25T00:46:50+01:00
New Revision: a2d340ba161fe48ee4ff736c6e7877038a7388cd
URL:
https://github.com/llvm/llvm-project/commit/a2d340ba161fe48ee4ff736c6e7877038a7388cd
DIFF:
https://github.com/llvm/llvm-project/commit/a2d340ba161fe48ee4ff736c6e7877038a7388cd.diff
L
https://github.com/DavidTruby closed
https://github.com/llvm/llvm-project/pull/96557
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -584,6 +585,39 @@ static Attr *handleOpenCLUnrollHint(Sema &S, Stmt *St,
const ParsedAttr &A,
return ::new (S.Context) OpenCLUnrollHintAttr(S.Context, A, UnrollFactor);
}
+static Attr *handleHLSLLoopHintAttr(Sema &S, Stmt *St, const ParsedAttr &A,
+
https://github.com/PeterChou1 updated
https://github.com/llvm/llvm-project/pull/96358
>From bb407e7c6de15d7ed2f0dd645ca2a469ee1f8a8e Mon Sep 17 00:00:00 2001
From: PeterChou1
Date: Fri, 21 Jun 2024 16:57:30 -0400
Subject: [PATCH 1/4] Revert "Revert "[clang-doc] Add --asset option to
clang-doc"
@@ -584,6 +585,39 @@ static Attr *handleOpenCLUnrollHint(Sema &S, Stmt *St,
const ParsedAttr &A,
return ::new (S.Context) OpenCLUnrollHintAttr(S.Context, A, UnrollFactor);
}
+static Attr *handleHLSLLoopHintAttr(Sema &S, Stmt *St, const ParsedAttr &A,
+
https://github.com/farzonl edited
https://github.com/llvm/llvm-project/pull/93879
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
ilovepi wrote:
Can you update the commit message to describe why this can be relanded, and
what this patch does? A good rule of thumb is to include the entire original
commit message, followed by a short paragraph describing what's changed.
https://github.com/llvm/llvm-project/pull/96358
_
https://github.com/bob80905 approved this pull request.
https://github.com/llvm/llvm-project/pull/93879
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
e-kud wrote:
So, I think this PR still makes sense but without target changes, right?
I've taken a look at the backend and constraints are checked in
`getRegForInlineAsmConstraint`. We either need to return an error message or
pass `Context` into it. The former is preferrable because a call of
topperc wrote:
Was `3dnow` never part of `sys:getHostCPUFeatures` for -march=native? I
expected you would need to remove it from there, but it looks like it isn't
there
https://github.com/llvm/llvm-project/pull/96246
___
cfe-commits mailing list
cfe-
https://github.com/amykhuang created
https://github.com/llvm/llvm-project/pull/96578
None
>From 1b436900146e1a91efac95416077485571722517 Mon Sep 17 00:00:00 2001
From: Amy Huang
Date: Mon, 24 Jun 2024 16:55:08 -0700
Subject: [PATCH] Add __hlt intrinsic for Windows ARM.
---
clang/include/clan
llvmbot wrote:
@llvm/pr-subscribers-clang-codegen
Author: Amy Huang (amykhuang)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/96578.diff
7 Files Affected:
- (modified) clang/include/clang/Basic/BuiltinsAArch64.def (+1)
- (modified) clang/lib/CodeGen/CGBuiltin.cpp (
topperc wrote:
This LGTM. The prefetch mess was one thing I knew was a little complicated, but
it looks like you've taken care of that.
https://github.com/llvm/llvm-project/pull/96246
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lis
@@ -6,16 +6,11 @@
; RUN: llc < %s -mtriple=i686-- -mcpu=slm | FileCheck %s
-check-prefix=X86-PRFCHWSSE
; RUN: llc < %s -mtriple=i686-- -mcpu=btver2 | FileCheck %s
-check-prefix=X86-PRFCHWSSE
; RUN: llc < %s -mtriple=i686-- -mcpu=btver2 -mattr=-prfchw | FileCheck %s
-check-pr
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Mike Rice (mikerice1969)
Changes
Address static verifier concerns about dead code in DoubleUnderscore check.
Replace it with an assert.
---
Full diff: https://github.com/llvm/llvm-project/pull/96579.diff
1 Files Affected:
- (modified)
@@ -1117,6 +1118,31 @@ NumericLiteralParser::NumericLiteralParser(StringRef
TokSpelling,
if (isImaginary) break; // Cannot be repeated.
isImaginary = true;
continue; // Success.
+case '_':
+ if (isFPConstant)
+break; // Invalid for floats
@@ -6,16 +6,11 @@
; RUN: llc < %s -mtriple=i686-- -mcpu=slm | FileCheck %s
-check-prefix=X86-PRFCHWSSE
; RUN: llc < %s -mtriple=i686-- -mcpu=btver2 | FileCheck %s
-check-prefix=X86-PRFCHWSSE
; RUN: llc < %s -mtriple=i686-- -mcpu=btver2 -mattr=-prfchw | FileCheck %s
-check-pr
301 - 400 of 509 matches
Mail list logo