https://github.com/jaidTw updated
https://github.com/llvm/llvm-project/pull/112477
>From fe4a28fb691b69d9af384f1dc2f0667761adef44 Mon Sep 17 00:00:00 2001
From: Jesse Huang
Date: Sun, 13 Oct 2024 15:11:06 +0800
Subject: [PATCH 1/2] [Clang][RISCV] Support -fcf-protection=return for RISC-V
---
@@ -0,0 +1,174 @@
+/*===-- movrs_avx10_2intrin.h - AVX512MOVRS intrinsics -===
phoebewang wrote:
AVX10.2-MOVRS
https://github.com/llvm/llvm-project/pull/113274
___
cfe-commits mailing list
cfe-commi
@@ -7572,3 +7572,42 @@ def int_x86_avx10_vfnmsub231nepbf16128 :
ClangBuiltin<"__builtin_ia32_vfnmsub231
DefaultAttrsIntrinsic<[llvm_v8bf16_ty], [llvm_v8bf16_ty,
llvm_v8bf16_ty, llvm_v8bf16_ty ],
[IntrNoMem]>;
}
+
+let TargetPrefix = "x86"
@@ -0,0 +1,98 @@
+/*=== movrs_avx10_2_512intrin.h - AVX512MOVRS intrinsics ---===
phoebewang wrote:
`AVX512MOVRS` -> `AVX10.2-512-MOVRS`
https://github.com/llvm/llvm-project/pull/113274
___
cfe-commits
@@ -261,6 +261,7 @@ X86_FEATURE_COMPAT(AVX10_1, "avx10.1-256",
36)
X86_FEATURE_COMPAT(AVX10_1_512, "avx10.1-512", 37)
X86_FEATURE_COMPAT(AVX10_2, "avx10.2-256",0)
X86_FEATURE_COMPAT(AVX10_2_512, "avx10.2-512",
@@ -271,8 +271,22 @@ class alignas(8) Module {
DirectoryEntryRef Entry;
};
- /// The headers that are part of this module.
- SmallVector Headers[5];
+private:
+ unsigned HeaderKindBeginIndex[6] = {};
+ SmallVector HeadersStorage;
+
+public:
+ ArrayRef getHeaders(Hea
@@ -271,8 +271,22 @@ class alignas(8) Module {
DirectoryEntryRef Entry;
};
- /// The headers that are part of this module.
- SmallVector Headers[5];
+private:
+ unsigned HeaderKindBeginIndex[6] = {};
cor3ntin wrote:
Why 6 rather than 5?
https://gith
@@ -271,8 +271,22 @@ class alignas(8) Module {
DirectoryEntryRef Entry;
};
- /// The headers that are part of this module.
- SmallVector Headers[5];
+private:
+ unsigned HeaderKindBeginIndex[6] = {};
+ SmallVector HeadersStorage;
+
+public:
+ ArrayRef getHeaders(Hea
@@ -271,8 +271,22 @@ class alignas(8) Module {
DirectoryEntryRef Entry;
};
- /// The headers that are part of this module.
- SmallVector Headers[5];
+private:
+ unsigned HeaderKindBeginIndex[6] = {};
cor3ntin wrote:
actually, it should be `NumHeaderK
https://github.com/jaidTw updated
https://github.com/llvm/llvm-project/pull/112477
>From fe4a28fb691b69d9af384f1dc2f0667761adef44 Mon Sep 17 00:00:00 2001
From: Jesse Huang
Date: Sun, 13 Oct 2024 15:11:06 +0800
Subject: [PATCH 1/2] [Clang][RISCV] Support -fcf-protection=return for RISC-V
---
@@ -899,6 +899,10 @@ void CodeGenFunction::StartFunction(GlobalDecl GD,
QualType RetTy,
if (CodeGenOpts.PointerAuth.IndirectGotos)
Fn->addFnAttr("ptrauth-indirect-gotos");
+ // Add return control flow integrity attributes.
+ if (CodeGenOpts.CFProtectionReturn)
+Fn
@@ -2292,9 +2289,26 @@ incomingCalls(const CallHierarchyItem &Item, const
SymbolIndex *Index) {
Index->lookup(ContainerLookup, [&](const Symbol &Caller) {
auto It = CallsIn.find(Caller.ID);
assert(It != CallsIn.end());
-if (auto CHI = symbolToCallHierarchyItem(Ca
@@ -471,8 +471,9 @@ class Type {
static Type *getWasm_FuncrefTy(LLVMContext &C);
/// Return a pointer to the current type. This is equivalent to
- /// PointerType::get(Foo, AddrSpace).
+ /// PointerType::get(Ctx, AddrSpace).
/// TODO: Remove this after opaque pointer
@@ -0,0 +1,170 @@
+# RUN: llvm-mc --disassemble %s -triple=i386-unknown-unknown | FileCheck %s
--check-prefixes=ATT
phoebewang wrote:
ditto.
https://github.com/llvm/llvm-project/pull/113402
___
cfe-commits mailing lis
@@ -0,0 +1,224 @@
+// RUN: llvm-mc -triple x86_64-unknown-unknown --show-encoding %s | FileCheck
%s
phoebewang wrote:
The same to below.
https://github.com/llvm/llvm-project/pull/113402
___
cfe-commits mailing list
cf
@@ -1647,3 +1647,23 @@ let isCodeGenOnly = 1, ForceDisassemble = 1,
hasSideEffects = 0 in
def : InstAlias<"vmovw.s\t{$src, $dst|$dst, $src}",
(VMOVZPWILo2PWIZrr2 VR128X:$dst, VR128X:$src), 0>;
}
+
+// SM4(EVEX)
+multiclass avx10_sm4_base {
+ // SM4_Base is
@@ -1647,3 +1647,23 @@ let isCodeGenOnly = 1, ForceDisassemble = 1,
hasSideEffects = 0 in
def : InstAlias<"vmovw.s\t{$src, $dst|$dst, $src}",
(VMOVZPWILo2PWIZrr2 VR128X:$dst, VR128X:$src), 0>;
}
+
+// SM4(EVEX)
+multiclass avx10_sm4_base {
+ // SM4_Base is
@@ -0,0 +1,170 @@
+# RUN: llvm-mc --disassemble %s -triple=x86_64 | FileCheck %s
--check-prefixes=ATT
phoebewang wrote:
The file name is mistaken with sm4-evex-64.txt
https://github.com/llvm/llvm-project/pull/113402
_
@@ -0,0 +1,64 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc < %s -verify-machineinstrs -mtriple=x86_64-- --show-mc-encoding
-mattr=+sm4,+avx10.2-512 | FileCheck %s
+; RUN: llc < %s -verify-machineinstrs -mtriple=i686-- --show-mc-enc
@@ -6109,6 +6109,12 @@ let TargetPrefix = "x86" in {
DefaultAttrsIntrinsic<[llvm_v8i32_ty],
[llvm_v8i32_ty, llvm_v8i32_ty],
[IntrNoMem]>;
+def int_x86_vsm4key4512 : ClangBuiltin<"__builtin_ia32_vsm4key4512">,
+Intrinsic<[llvm_v16i32_ty], [llvm_v1
@@ -6109,6 +6109,12 @@ let TargetPrefix = "x86" in {
DefaultAttrsIntrinsic<[llvm_v8i32_ty],
[llvm_v8i32_ty, llvm_v8i32_ty],
[IntrNoMem]>;
+def int_x86_vsm4key4512 : ClangBuiltin<"__builtin_ia32_vsm4key4512">,
+Intrinsic<[llvm_v16i32_ty], [llvm_v1
@@ -196,6 +196,8 @@ Changes to the X86 Backend
* Support ISA of `AVX10.2-256` and `AVX10.2-512`.
+* Support ISA of `SM4(EVEX)`.
phoebewang wrote:
We should mainly add in Clang release note.
https://github.com/llvm/llvm-project/pull/113402
__
@@ -665,6 +665,9 @@ _storebe_i64(void * __P, long long __D) {
#include
#include
#include
+#if (defined(__SM4__))
phoebewang wrote:
Checking macro is not always working, e.g., function multi-versioning. It's
fine to remove it.
https://github.com/llvm/llvm-
@@ -2272,18 +2273,14 @@ incomingCalls(const CallHierarchyItem &Item, const
SymbolIndex *Index) {
// Initially store the ranges in a map keyed by SymbolID of the caller.
// This allows us to group different calls with the same caller
// into the same CallHierarchyIncoming
Bo98 wrote:
Ping?
https://github.com/llvm/llvm-project/pull/111397
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Bo98 wrote:
Ping?
https://github.com/llvm/llvm-project/pull/111387
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/wzssyqa updated
https://github.com/llvm/llvm-project/pull/112854
>From ad7c6b648f3bb88ce075fa15cf8915350e4981ab Mon Sep 17 00:00:00 2001
From: YunQiang Su
Date: Fri, 18 Oct 2024 16:33:19 +0800
Subject: [PATCH 1/2] APFloat: Fix maxnum and minnum with sNaN
See: https://github.
@@ -582,7 +582,46 @@ TEST(APFloatTest, MinNum) {
APFloat zp(0.0);
APFloat zn(-0.0);
EXPECT_EQ(-0.0, minnum(zp, zn).convertToDouble());
- EXPECT_EQ(-0.0, minnum(zn, zp).convertToDouble());
+
+ APInt intPayload_89ab(64, 0x89ab);
wzssyqa wrote:
It is not
https://github.com/yingcong-wu approved this pull request.
https://github.com/llvm/llvm-project/pull/112867
___
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-m68k-linux-cross`
running on `suse-gary-m68k-cross` while building
`clang,flang,libclc,llvm,offload` at step 5 "ninja check 1".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/27/builds/913
Her
yonghong-song wrote:
> If our plan is to:
>
> * generate `zext` BPF 8- and 16-bit load-acquire for
> `atomic_load_zext_{8,16}`
>
> * (if needed) generate `sext` BPF 8- and 16-bit load-acquire for
> `atomic_load_sext_{8,16}`
>
>
> Then this problem needs to be solved, and I can inclu
yonghong-song wrote:
> > In the above, you will do unsigned load extension. But what about signed
> > extension load variant?
>
> @yonghong-song, if we ever need that, we can add a new flag to bit `0-3` of
> `imm` to indicate "this 8- or 16-bit load-acquire is sign-extending", just
> like `BPF
https://github.com/hekota updated
https://github.com/llvm/llvm-project/pull/113397
>From 7e7812cff9c1d82c8402e840975e3fc5fd726001 Mon Sep 17 00:00:00 2001
From: Helena Kotas
Date: Tue, 22 Oct 2024 16:18:24 -0700
Subject: [PATCH 1/2] [HLSL] Update resource class of StructuredBuffer to SRV
---
Author: Carl Ritson
Date: 2024-10-23T12:56:58+09:00
New Revision: 076aac59acbe7555b922e77886e4428f1aa1cd0b
URL:
https://github.com/llvm/llvm-project/commit/076aac59acbe7555b922e77886e4428f1aa1cd0b
DIFF:
https://github.com/llvm/llvm-project/commit/076aac59acbe7555b922e77886e4428f1aa1cd0b.diff
L
https://github.com/perlfu closed
https://github.com/llvm/llvm-project/pull/113138
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Carl Ritson
Date: 2024-10-23T12:56:58+09:00
New Revision: 076aac59acbe7555b922e77886e4428f1aa1cd0b
URL:
https://github.com/llvm/llvm-project/commit/076aac59acbe7555b922e77886e4428f1aa1cd0b
DIFF:
https://github.com/llvm/llvm-project/commit/076aac59acbe7555b922e77886e4428f1aa1cd0b.diff
L
@@ -3141,6 +3148,10 @@ def warn_attribute_ignored_no_calls_in_stmt: Warning<
"statement">,
InGroup;
+def warn_attribute_needs_aggregate : Warning<
higher-performance wrote:
@AaronBallman bump?
https://github.com/llvm/llvm-project/pull/102040
https://github.com/tbaederr closed
https://github.com/llvm/llvm-project/pull/113276
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Timm Baeder
Date: 2024-10-23T05:50:30+02:00
New Revision: 46ad7ff4b78fd7e6540d9eebe7e17ae423b29dd9
URL:
https://github.com/llvm/llvm-project/commit/46ad7ff4b78fd7e6540d9eebe7e17ae423b29dd9
DIFF:
https://github.com/llvm/llvm-project/commit/46ad7ff4b78fd7e6540d9eebe7e17ae423b29dd9.diff
L
owenca wrote:
> wow I've never seen this used, but this looks fine to me.
Form feeds can be useful for emas/vim users and are recommended by the GNU
Coding Standards.
https://github.com/llvm/llvm-project/pull/113268
___
cfe-commits mailing list
cfe-c
https://github.com/wzssyqa updated
https://github.com/llvm/llvm-project/pull/113133
>From 4cb7472aaa8973651a85057ee2f7ca7415d8ea72 Mon Sep 17 00:00:00 2001
From: YunQiang Su
Date: Mon, 21 Oct 2024 15:18:38 +0800
Subject: [PATCH 1/6] Clang: emit llvm.minnum and llvm.maxnum with nsz always
See:
https://github.com/owenca updated
https://github.com/llvm/llvm-project/pull/113268
>From 0d1c2446a225d73e014e711b0d74931bff9237bc Mon Sep 17 00:00:00 2001
From: Owen Pan
Date: Mon, 21 Oct 2024 23:27:35 -0700
Subject: [PATCH 1/3] [clang-format] Add KeepFormFeed option
Closes #113170.
---
clang
https://github.com/isuckatcs edited
https://github.com/llvm/llvm-project/pull/113312
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -768,9 +776,17 @@ ProgramStateRef
CStringChecker::CheckOverlap(CheckerContext &C,
std::tie(stateTrue, stateFalse) = state->assume(*OverlapTest);
if (stateTrue && !stateFalse) {
-// Overlap!
-emitOverlapBug(C, stateTrue, First.Expression, Second.Expression);
-
@@ -614,10 +620,6 @@ CStringChecker::CheckBufferAccess(CheckerContext &C,
ProgramStateRef State,
if (!State)
return nullptr;
- // If out-of-bounds checking is turned off, skip the rest.
- if (!Filter.CheckCStringOutOfBounds)
-return State;
-
isuck
@@ -838,8 +860,15 @@ void
CStringChecker::emitUninitializedReadBug(CheckerContext &C,
void CStringChecker::emitOutOfBoundsBug(CheckerContext &C,
ProgramStateRef State, const Stmt *S,
StringRef Warn
@@ -768,9 +776,17 @@ ProgramStateRef
CStringChecker::CheckOverlap(CheckerContext &C,
std::tie(stateTrue, stateFalse) = state->assume(*OverlapTest);
if (stateTrue && !stateFalse) {
-// Overlap!
-emitOverlapBug(C, stateTrue, First.Expression, Second.Expression);
-
@@ -702,9 +702,17 @@ ProgramStateRef
CStringChecker::CheckOverlap(CheckerContext &C,
state->assume(svalBuilder.evalEQ(state, *firstLoc, *secondLoc));
if (stateTrue && !stateFalse) {
-// If the values are known to be equal, that's automatically an overlap.
-emi
@@ -579,8 +579,14 @@ ProgramStateRef
CStringChecker::CheckLocation(CheckerContext &C,
// These checks are either enabled by the CString out-of-bounds checker
// explicitly or implicitly by the Malloc checker.
// In the latter case we only do modeling but do not emi
https://github.com/isuckatcs edited
https://github.com/llvm/llvm-project/pull/113312
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/isuckatcs commented:
Apart from a few nits and the question about seeing new warning with a certain
combination of checks, the patch looks good to me.
https://github.com/llvm/llvm-project/pull/113312
___
cfe-commits mailing list
cfe
https://github.com/FreddyLeaf ready_for_review
https://github.com/llvm/llvm-project/pull/113274
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
ksromanov wrote:
Thanks a lot!
https://github.com/llvm/llvm-project/pull/104540
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/FreddyLeaf updated
https://github.com/llvm/llvm-project/pull/113274
>From 19c6400ac7127860ac1712941acbd1585614d17d Mon Sep 17 00:00:00 2001
From: Freddy Ye
Date: Mon, 21 Oct 2024 10:24:14 +0800
Subject: [PATCH 1/3] [X86] Support MOVRS and AVX10.2 instructions.
Ref.: https://
llvmbot wrote:
@llvm/pr-subscribers-backend-x86
Author: Freddy Ye (FreddyLeaf)
Changes
Ref.: https://cdrdv2.intel.com/v1/dl/getContent/671368
---
Patch is 83.30 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/113274.diff
30 Files Affected:
llvmbot wrote:
@llvm/pr-subscribers-clang-driver
Author: Freddy Ye (FreddyLeaf)
Changes
Ref.: https://cdrdv2.intel.com/v1/dl/getContent/671368
---
Patch is 83.30 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/113274.diff
30 Files Affected:
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 b90ea5caade7b92796276937467a0dabc355a62e
dc9387dbf69b806180702465c406630194c27bee --e
https://github.com/FreddyLeaf updated
https://github.com/llvm/llvm-project/pull/113274
>From 19c6400ac7127860ac1712941acbd1585614d17d Mon Sep 17 00:00:00 2001
From: Freddy Ye
Date: Mon, 21 Oct 2024 10:24:14 +0800
Subject: [PATCH 1/2] [X86] Support MOVRS and AVX10.2 instructions.
Ref.: https://
https://github.com/stephenhines approved this pull request.
Thank you for taking care of the cleanup CL. It is much appreciated.
https://github.com/llvm/llvm-project/pull/112916
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm
https://github.com/owenca updated
https://github.com/llvm/llvm-project/pull/113268
>From 0d1c2446a225d73e014e711b0d74931bff9237bc Mon Sep 17 00:00:00 2001
From: Owen Pan
Date: Mon, 21 Oct 2024 23:27:35 -0700
Subject: [PATCH 1/2] [clang-format] Add KeepFormFeed option
Closes #113170.
---
clang
https://github.com/NimishMishra approved this pull request.
LGTM. Thanks for this.
https://github.com/llvm/llvm-project/pull/113305
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
haoNoQ wrote:
> a function that returns a pointer and takes a reference (or a pointer) to a
> length variable
Yes, this one should be easy to catch. Both values will be `SymbolConjured`
pointing to the same function call expression / program point. (The
out-parameter value may also be `Symbol
@@ -0,0 +1,199 @@
+//== BoundsInformationChecker.cpp - bounds information checker --*- 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
https://github.com/KanRobert approved this pull request.
LGTM
https://github.com/llvm/llvm-project/pull/113402
___
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: Freddy Ye (FreddyLeaf)
Changes
Ref.: https://cdrdv2.intel.com/v1/dl/getContent/671368
---
Patch is 59.96 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/113402.diff
16 Files Affected:
- (mod
@@ -0,0 +1,199 @@
+//== BoundsInformationChecker.cpp - bounds information checker --*- 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
llvmbot wrote:
@llvm/pr-subscribers-backend-x86
Author: Freddy Ye (FreddyLeaf)
Changes
Ref.: https://cdrdv2.intel.com/v1/dl/getContent/671368
---
Patch is 59.96 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project/pull/113402.diff
16 Files Affected:
https://github.com/FreddyLeaf created
https://github.com/llvm/llvm-project/pull/113402
Ref.: https://cdrdv2.intel.com/v1/dl/getContent/671368
>From 83a2ef421831dec1790c3c6adf3141ed1ac9a0d5 Mon Sep 17 00:00:00 2001
From: Freddy Ye
Date: Mon, 21 Oct 2024 09:30:26 +0800
Subject: [PATCH] [X86] Su
https://github.com/owenca closed
https://github.com/llvm/llvm-project/pull/113257
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Owen Pan
Date: 2024-10-22T18:39:32-07:00
New Revision: d005be33ee776c5d788693f5c1cf4f6bc242e13c
URL:
https://github.com/llvm/llvm-project/commit/d005be33ee776c5d788693f5c1cf4f6bc242e13c
DIFF:
https://github.com/llvm/llvm-project/commit/d005be33ee776c5d788693f5c1cf4f6bc242e13c.diff
LOG:
https://github.com/owenca closed
https://github.com/llvm/llvm-project/pull/113260
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Owen Pan
Date: 2024-10-22T18:37:43-07:00
New Revision: b69ac31a3b858f6a77744adfa31ad53edecbdb7e
URL:
https://github.com/llvm/llvm-project/commit/b69ac31a3b858f6a77744adfa31ad53edecbdb7e
DIFF:
https://github.com/llvm/llvm-project/commit/b69ac31a3b858f6a77744adfa31ad53edecbdb7e.diff
LOG:
Author: Congcong Cai
Date: 2024-10-23T09:21:27+08:00
New Revision: bd6c430dcb52f3e4f86abc5f572126355fa39936
URL:
https://github.com/llvm/llvm-project/commit/bd6c430dcb52f3e4f86abc5f572126355fa39936
DIFF:
https://github.com/llvm/llvm-project/commit/bd6c430dcb52f3e4f86abc5f572126355fa39936.diff
https://github.com/HerrCai0907 closed
https://github.com/llvm/llvm-project/pull/113336
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -203,6 +203,30 @@ void Flang::AddAArch64TargetArgs(const ArgList &Args,
}
}
+void Flang::AddPPCTargetArgs(const ArgList &Args,
+ ArgStringList &CmdArgs) const {
+ bool VecExtabi = false;
+ for (const Arg *A : Args.filtered(options::OPT_mabi_E
@@ -1171,12 +1179,15 @@ void OpenMPIRBuilder::emitCancelationCheckImpl(Value
*CancelFlag,
// post finalization block that is known to the FiniCB callback.
Builder.SetInsertPoint(CancellationBlock);
if (ExitCB)
-ExitCB(Builder.saveIP());
+if (Error Err = ExitCB(Bu
@@ -1496,7 +1507,8 @@ IRBuilder<>::InsertPoint OpenMPIRBuilder::createParallel(
// Let the caller create the body.
assert(BodyGenCB && "Expected body generation callback!");
InsertPointTy CodeGenIP(PRegBodyBB, PRegBodyBB->begin());
- BodyGenCB(InnerAllocaIP, CodeGenIP);
@@ -683,6 +706,59 @@ struct AAAMDAttributesFunction : public AAAMDAttributes {
return !A.checkForAllCallLikeInstructions(DoesNotRetrieve, *this,
UsedAssumedInformation);
}
+
+ // Returns true if FlatScratchInit is needed, i.e
github-actions[bot] wrote:
@ksromanov Congratulations on having your first Pull Request (PR) merged into
the LLVM Project!
Your changes will be combined with recent changes from other authors, then
tested by our [build bots](https://lab.llvm.org/buildbot/). If there is a
problem with a buil
https://github.com/nicovank closed
https://github.com/llvm/llvm-project/pull/104540
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Konstantin Romanov
Date: 2024-10-22T17:05:00-07:00
New Revision: 0fbf91ab8e395717ed886c6827ca572c5baaa7a0
URL:
https://github.com/llvm/llvm-project/commit/0fbf91ab8e395717ed886c6827ca572c5baaa7a0
DIFF:
https://github.com/llvm/llvm-project/commit/0fbf91ab8e395717ed886c6827ca572c5baaa7a0.
https://github.com/vabridgers updated
https://github.com/llvm/llvm-project/pull/110471
>From 6b6f57823a1f788df25211c5131f5760efa54140 Mon Sep 17 00:00:00 2001
From: einvbri
Date: Thu, 26 Sep 2024 16:24:59 +0200
Subject: [PATCH] [clang-tidy] [analyzer] Move nondeterministic pointer usage
check
@@ -0,0 +1,34 @@
+#ifndef _SIM_UNORDERED_MAP
+#define _SIM_UNORDERED_MAP
+
+
EugeneZelenko wrote:
Excessive newline.
https://github.com/llvm/llvm-project/pull/110471
___
cfe-commits mailing list
cfe-commits@lists.llvm.
@@ -0,0 +1,33 @@
+#ifndef _SIM_STL_PAIR
+#define _SIM_STL_PAIR
+
+#pragma clang system_header
+
+#include "sim_type_traits"
+
+namespace std {
+
+
EugeneZelenko wrote:
Ditto.
https://github.com/llvm/llvm-project/pull/110471
__
@@ -0,0 +1,83 @@
+// RUN: %check_clang_tidy %s bugprone-nondeterministic-pointer-iteration-order
%t -- -- -I%S -std=c++!4
+
+#include "Inputs/system-header-simulator/sim_set"
+#include "Inputs/system-header-simulator/sim_unordered_set"
+#include "Inputs/system-header-simulator/si
https://github.com/vabridgers updated
https://github.com/llvm/llvm-project/pull/110471
>From ec58222f317c07615d64732b2d822b0b888a2aad Mon Sep 17 00:00:00 2001
From: einvbri
Date: Thu, 26 Sep 2024 16:24:59 +0200
Subject: [PATCH] [clang-tidy] [analyzer] Move nondeterministic pointer usage
check
https://github.com/sunfishcode updated
https://github.com/llvm/llvm-project/pull/112035
>From 8db1c6225cb938433f57414594cc3accae39f03c Mon Sep 17 00:00:00 2001
From: Dan Gohman
Date: Fri, 11 Oct 2024 04:30:32 -0700
Subject: [PATCH 1/7] [WebAssembly] Define a new "Trail1" CPU
First, define some
inbelic wrote:
Failing testcase is unrelated. Will need to rebase on review changes.
https://github.com/llvm/llvm-project/pull/113382
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/hekota closed
https://github.com/llvm/llvm-project/pull/113206
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Helena Kotas
Date: 2024-10-22T16:32:09-07:00
New Revision: 9b984554d769f1f81adb654345aa9ef37d5e5b44
URL:
https://github.com/llvm/llvm-project/commit/9b984554d769f1f81adb654345aa9ef37d5e5b44
DIFF:
https://github.com/llvm/llvm-project/commit/9b984554d769f1f81adb654345aa9ef37d5e5b44.diff
@@ -1762,6 +1765,36 @@ bool SPIRVInstructionSelector::selectSign(Register
ResVReg,
return Result;
}
+bool SPIRVInstructionSelector::selectWaveActiveCountBits(
+Register ResVReg, const SPIRVType *ResType, MachineInstr &I) const {
+ assert(I.getNumOperands() == 3);
+ as
llvmbot wrote:
@llvm/pr-subscribers-clang-codegen
Author: Finn Plummer (inbelic)
Changes
- add codegen for llvm builtin to spirv/directx intrinsic in CGBuiltin.cpp
- add lowering of spirv intrinsic to spirv backend in
SPIRVInstructionSelector.cpp
- add lowering of directx intrinsic
https://github.com/inbelic ready_for_review
https://github.com/llvm/llvm-project/pull/113382
___
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: Helena Kotas (hekota)
Changes
Changes `StructuredBuffer` resource class to SRV (read-only) according to
existing [DXC](https://godbolt.org/z/EjY9jbv4W) implementation and [Proposal
for mapping resource attributes](https://github.com/llvm/
llvmbot wrote:
@llvm/pr-subscribers-llvm-ir
@llvm/pr-subscribers-clang-codegen
Author: Adam Yang (adam-yang)
Changes
Fixes #88052
- Added the following intrinsics:
- `int_spv_uclamp`
- `int_spv_sclamp`
- `int_spv_fclamp`
- Update the clamp.hlsl unit tests to include SPIRV
- Added th
llvmbot wrote:
@llvm/pr-subscribers-backend-spir-v
Author: Adam Yang (adam-yang)
Changes
Fixes #88052
- Added the following intrinsics:
- `int_spv_uclamp`
- `int_spv_sclamp`
- `int_spv_fclamp`
- Update the clamp.hlsl unit tests to include SPIRV
- Added the SPIRV specific tests
---
https://github.com/hekota created
https://github.com/llvm/llvm-project/pull/113397
Changes `StructuredBuffer` resource class to SRV (read-only) according to
existing [DXC](https://godbolt.org/z/EjY9jbv4W) implementation and [Proposal
for mapping resource attributes](https://github.com/llvm/wg-
https://github.com/adam-yang ready_for_review
https://github.com/llvm/llvm-project/pull/113394
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Florian Hahn
Date: 2024-10-22T16:23:34-07:00
New Revision: 4334f317e7fb2bdeaa15e912bbe0cd3162faf02c
URL:
https://github.com/llvm/llvm-project/commit/4334f317e7fb2bdeaa15e912bbe0cd3162faf02c
DIFF:
https://github.com/llvm/llvm-project/commit/4334f317e7fb2bdeaa15e912bbe0cd3162faf02c.diff
https://github.com/fhahn closed https://github.com/llvm/llvm-project/pull/110569
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
1 - 100 of 488 matches
Mail list logo