https://github.com/smeenai created
https://github.com/llvm/llvm-project/pull/137853
The `llvm-headers` target wasn't depending on the generated TargetParser
headers, so they'd be flakily installed or not installed depending on
which order the build steps ran in. Add an explicit dependency to fix
https://github.com/lenary created
https://github.com/llvm/llvm-project/pull/137854
All the changes for v0.2 and v0.3 are either already implemented, or irrelevant
to the compiler implementation.
>From f156620203b61fbe48c80b4b45c451f9a6c6eed9 Mon Sep 17 00:00:00 2001
From: Sam Elliott
Date: Tu
llvmbot wrote:
@llvm/pr-subscribers-backend-risc-v
@llvm/pr-subscribers-clang
Author: Sam Elliott (lenary)
Changes
All the changes for v0.2 and v0.3 are either already implemented, or irrelevant
to the compiler implementation.
---
Full diff: https://github.com/llvm/llvm-project/pull/1378
fmayer wrote:
clang now fails an assertion on this
```
class a { template < typename b > void c(); void
c(int (a::*)(int, int)); template < typename b > b d(b , b)
{
c(&::d);
}
};
```
```
#0 0x55bc6cac8e58 llvm::sys::PrintStackTrace(l
https://github.com/diggerlin updated
https://github.com/llvm/llvm-project/pull/137670
>From 97f10e6a0fb4c158359e79e24650f8fdf4d23ef2 Mon Sep 17 00:00:00 2001
From: zhijian
Date: Fri, 25 Apr 2025 13:09:47 +
Subject: [PATCH 1/2] implement getting target features from backend for clang
fronte
@@ -271,26 +271,32 @@ class CFGWalker {
// translateAttrExpr needs it, but that should be moved too.
class CapabilityExpr {
private:
- /// The capability expression and whether it's negated.
- llvm::PointerIntPair CapExpr;
+ /// The capability expression and flags.
+ llvm::
Author: Daniel Chen
Date: 2025-04-29T10:39:52-04:00
New Revision: 3f8035961f08d160851c40f7ac1f6e441149183c
URL:
https://github.com/llvm/llvm-project/commit/3f8035961f08d160851c40f7ac1f6e441149183c
DIFF:
https://github.com/llvm/llvm-project/commit/3f8035961f08d160851c40f7ac1f6e441149183c.diff
L
Author: Andres-Salamanca
Date: 2025-04-29T08:43:44-07:00
New Revision: 9d1f1c4c8b5e96dfdbde37cb2cf906afdce5ef30
URL:
https://github.com/llvm/llvm-project/commit/9d1f1c4c8b5e96dfdbde37cb2cf906afdce5ef30
DIFF:
https://github.com/llvm/llvm-project/commit/9d1f1c4c8b5e96dfdbde37cb2cf906afdce5ef30.di
@@ -35,8 +35,10 @@ static constexpr Builtin::Info BuiltinInfos[] = {
static_assert(std::size(BuiltinInfos) == NumBuiltins);
llvm::SmallVector
-SPIRVTargetInfo::getTargetBuiltins() const {
- return {{&BuiltinStrings, BuiltinInfos}};
+BaseSPIRTargetInfo::getTargetBuiltins() con
https://github.com/zwuis updated
https://github.com/llvm/llvm-project/pull/134522
>From ccab3dc1f18ffeda9acb07c0bd5f80f65cc788b9 Mon Sep 17 00:00:00 2001
From: Yanzuo Liu
Date: Sun, 6 Apr 2025 15:06:56 +0800
Subject: [PATCH 1/3] Handle invalid variable template specialization whose
type depend
https://github.com/frasercrmck updated
https://github.com/llvm/llvm-project/pull/137824
>From abb52892c044ca1883cc41d97c3edf08aafc9746 Mon Sep 17 00:00:00 2001
From: Fraser Cormack
Date: Tue, 29 Apr 2025 16:05:19 +0100
Subject: [PATCH] [libclc] Avoid casting NANs & literals to 'gentype'
By hav
@@ -388,7 +395,7 @@ class SExprBuilder {
til::LiteralPtr *createVariable(const VarDecl *VD);
// Create placeholder for this: we don't know the VarDecl on construction
yet.
- std::pair
+ std::pair
melver wrote:
I think this code is just more complex tha
https://github.com/zwuis edited https://github.com/llvm/llvm-project/pull/134522
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -81,26 +81,25 @@ static bool isCalleeArrow(const Expr *E) {
return ME ? ME->isArrow() : false;
}
-static StringRef ClassifyDiagnostic(const CapabilityAttr *A) {
- return A->getName();
-}
-
-static StringRef ClassifyDiagnostic(QualType VDT) {
+static CapabilityExpr makeCa
@@ -105,9 +105,6 @@ void errno_getcwd(char *Buf, size_t Sz) {
clang_analyzer_eval(errno != 0); // expected-warning{{TRUE}}
clang_analyzer_eval(Path == NULL); // expected-warning{{TRUE}}
if (errno) {} // no warning
- } else if (Path == NULL) {
https://github.com/andykaylor closed
https://github.com/llvm/llvm-project/pull/137106
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/andykaylor updated
https://github.com/llvm/llvm-project/pull/137740
>From 17ac341126dd9110a9e1f7cdd3c4197f2a04268b Mon Sep 17 00:00:00 2001
From: Andy Kaylor
Date: Mon, 28 Apr 2025 16:26:34 -0700
Subject: [PATCH] [CIR] Add support for compound assignment statements
Compound
@@ -0,0 +1,12 @@
+// RUN: %clang_cc1 -triple amdgcn-unknown-unknown -target-cpu tahiti -S
-verify -o - %s
+// RUN: %clang_cc1 -triple amdgcn-unknown-unknown -target-cpu bonaire -S
-verify -o - %s
+// RUN: %clang_cc1 -triple amdgcn-unknown-unknown -target-cpu carrizo -S
-verify
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Aaron Ballman (AaronBallman)
Changes
This introduces three things related to intialization like:
char buf[3] = "foo";
where the array does not declare enough space for the null terminator but
otherwise can represent the array contents ex
https://github.com/AaronBallman created
https://github.com/llvm/llvm-project/pull/137829
This introduces three things related to intialization like:
char buf[3] = "foo";
where the array does not declare enough space for the null terminator but
otherwise can represent the array contents exactl
@@ -299,6 +310,18 @@ elseif (FLANG_RT_GCC_RESOURCE_DIR)
endif ()
endif ()
+
+
+if (CMAKE_C_BYTE_ORDER STREQUAL "BIG_ENDIAN")
jhuber6 wrote:
I was hoping I got rid of needing to detect endianness in CMake, since it makes
cross-compiling a pain. Not eager to
https://github.com/jhuber6 edited
https://github.com/llvm/llvm-project/pull/137828
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -102,6 +102,10 @@ ToolChain::ToolChain(const Driver &D, const llvm::Triple
&T,
getFilePaths().push_back(*Path);
for (const auto &Path : getArchSpecificLibPaths())
addIfExists(getFilePaths(), Path);
+
+ if (D.IsFlangMode()) {
+getIntrinsicModulePaths().append(
https://github.com/jhuber6 commented:
What's the main limitation here? If this is just a file dependency it should be
identical to how all the OpenMP tests depend on `omp.h` being in the resource
directory. IMHO this is trivial if we do a runtimes build, since we can just
require that `openmp;
@@ -157,6 +157,9 @@ class ToolChain {
/// The list of toolchain specific path prefixes to search for programs.
path_list ProgramPaths;
+path_list ModulePaths;
+path_list IntrinsicModulePaths;
jhuber6 wrote:
Format.
https://github.com/llvm/llv
@@ -3979,6 +3979,16 @@ def fsyntax_only : Flag<["-"], "fsyntax-only">,
Visibility<[ClangOption, CLOption, DXCOption, CC1Option, FC1Option,
FlangOption]>,
Group,
HelpText<"Run the preprocessor, parser and semantic analysis stages">;
+
+
+def fno_builtin_modules : Flag<["-
@@ -9294,3 +9294,18 @@ Declares that a function potentially allocates heap
memory, and prevents any pot
of ``nonallocating`` by the compiler.
}];
}
+
+def NonStringDocs : Documentation {
+ let Category = DocCatDecl;
+ let Content = [{
+The ``nonstring`` attribute can be ap
@@ -3804,6 +3804,9 @@ def err_attribute_weakref_without_alias : Error<
"weakref declaration of %0 must also have an alias attribute">;
def err_alias_not_supported_on_darwin : Error <
"aliases are not supported on darwin">;
+def warn_attribute_non_character_array : Warning<
@@ -4907,6 +4907,20 @@ void Sema::AddModeAttr(Decl *D, const
AttributeCommonInfo &CI,
D->addAttr(::new (Context) ModeAttr(Context, CI, Name));
}
+static void handleNonStringAttr(Sema &S, Decl *D, const ParsedAttr &AL) {
+ // This only applies to fields and variable declara
@@ -3804,6 +3804,9 @@ def err_attribute_weakref_without_alias : Error<
"weakref declaration of %0 must also have an alias attribute">;
def err_alias_not_supported_on_darwin : Error <
"aliases are not supported on darwin">;
+def warn_attribute_non_character_array : Warning<
@@ -163,7 +163,10 @@ BUILTIN(__builtin_amdgcn_raw_buffer_load_b64,
"V2UiQbiiIi", "n")
BUILTIN(__builtin_amdgcn_raw_buffer_load_b96, "V3UiQbiiIi", "n")
BUILTIN(__builtin_amdgcn_raw_buffer_load_b128, "V4UiQbiiIi", "n")
+TARGET_BUILTIN(__builtin_amdgcn_raw_buffer_load_lds, "vV4U
macurtis-amd wrote:
@nikic ping ping
Are you okay with the latest revision?
(Thanks for reviewing this. Apologies if I'm being annoying).
https://github.com/llvm/llvm-project/pull/133301
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://l
https://github.com/zwuis updated
https://github.com/llvm/llvm-project/pull/134522
>From ccab3dc1f18ffeda9acb07c0bd5f80f65cc788b9 Mon Sep 17 00:00:00 2001
From: Yanzuo Liu
Date: Sun, 6 Apr 2025 15:06:56 +0800
Subject: [PATCH 1/3] Handle invalid variable template specialization whose
type depend
@@ -4907,6 +4907,20 @@ void Sema::AddModeAttr(Decl *D, const
AttributeCommonInfo &CI,
D->addAttr(::new (Context) ModeAttr(Context, CI, Name));
}
+static void handleNonStringAttr(Sema &S, Decl *D, const ParsedAttr &AL) {
+ // This only applies to fields and variable declara
@@ -3804,6 +3804,9 @@ def err_attribute_weakref_without_alias : Error<
"weakref declaration of %0 must also have an alias attribute">;
def err_alias_not_supported_on_darwin : Error <
"aliases are not supported on darwin">;
+def warn_attribute_non_character_array : Warning<
@@ -59,19 +60,46 @@ class InProcessModuleCache : public ModuleCache {
InMemoryModuleCache InMemory;
public:
- InProcessModuleCache(ModuleCacheMutexes &Mutexes) : Mutexes(Mutexes) {}
+ InProcessModuleCache(ModuleCacheEntries &Entries) : Entries(Entries) {}
void prepare
@@ -1168,6 +1168,15 @@ bool Function::nullPointerIsDefined() const {
return hasFnAttribute(Attribute::NullPointerIsValid);
}
+unsigned Function::getVScaleValue() const {
+ Attribute Attr = getFnAttribute(Attribute::VScaleRange);
+ if (!Attr.isValid())
+return 0;
+
+ u
@@ -554,6 +554,22 @@ class VectorType : public Type {
return VectorType::get(VTy->getElementType(), EltCnt * 2);
}
+ /// This static method returns a VectorType with the same size-in-bits as
+ /// SizeTy but with an element type that matches the scalar type of EltTy.
+
@@ -554,6 +554,22 @@ class VectorType : public Type {
return VectorType::get(VTy->getElementType(), EltCnt * 2);
}
+ /// This static method returns a VectorType with the same size-in-bits as
+ /// SizeTy but with an element type that matches the scalar type of EltTy.
-
@@ -80,7 +80,9 @@ fixed_bool32_t from_vbool32_t(vbool32_t type) {
//
// CHECK-128-LABEL: @to_vbool32_t(
// CHECK-128-NEXT: entry:
-// CHECK-128-NEXT:ret [[TYPE_COERCE:%.*]]
+// CHECK-128-NEXT:[[SAVED_VALUE:%.*]] = alloca <1 x i8>, align 1
+// CHECK-128-NEXT:
[[SAV
https://github.com/paulwalker-arm edited
https://github.com/llvm/llvm-project/pull/130973
___
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-aarch64-global-isel`
running on `linaro-clang-aarch64-global-isel` while building `llvm` at step 7
"ninja check 1".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/125/builds/7219
Here is the r
@@ -5837,12 +5838,13 @@ static void handleBuiltinAliasAttr(Sema &S, Decl *D,
const ParsedAttr &AL) {
bool IsAArch64 = S.Context.getTargetInfo().getTriple().isAArch64();
bool IsARM = S.Context.getTargetInfo().getTriple().isARM();
bool IsRISCV = S.Context.getTargetInfo().g
@@ -1660,6 +1660,10 @@ def err_omp_expected_colon : Error<"missing ':' in %0">;
def err_omp_missing_comma : Error< "missing ',' after %0">;
def err_omp_expected_context_selector
: Error<"expected valid context selector in %0">;
+def err_omp_unknown_clause
+: Error<"expe
https://github.com/jmmartinez updated
https://github.com/llvm/llvm-project/pull/136133
From 2136a05f0b8a0f2db0f9506a78ebf8f41c0f4d2f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Juan=20Manuel=20Martinez=20Caama=C3=B1o?=
Date: Thu, 17 Apr 2025 13:41:55 +0200
Subject: [PATCH] [CUDA][HIP] Add a __devi
https://github.com/farzonl deleted
https://github.com/llvm/llvm-project/pull/137805
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/nikic edited https://github.com/llvm/llvm-project/pull/130973
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -163,7 +163,10 @@ BUILTIN(__builtin_amdgcn_raw_buffer_load_b64,
"V2UiQbiiIi", "n")
BUILTIN(__builtin_amdgcn_raw_buffer_load_b96, "V3UiQbiiIi", "n")
BUILTIN(__builtin_amdgcn_raw_buffer_load_b128, "V4UiQbiiIi", "n")
+TARGET_BUILTIN(__builtin_amdgcn_raw_buffer_load_lds, "vV4U
@@ -0,0 +1,12 @@
+// RUN: %clang_cc1 -triple amdgcn-unknown-unknown -target-cpu tahiti -S
-verify -o - %s
+// RUN: %clang_cc1 -triple amdgcn-unknown-unknown -target-cpu bonaire -S
-verify -o - %s
+// RUN: %clang_cc1 -triple amdgcn-unknown-unknown -target-cpu carrizo -S
-verify
@@ -35,8 +35,10 @@ static constexpr Builtin::Info BuiltinInfos[] = {
static_assert(std::size(BuiltinInfos) == NumBuiltins);
llvm::SmallVector
-SPIRVTargetInfo::getTargetBuiltins() const {
- return {{&BuiltinStrings, BuiltinInfos}};
+BaseSPIRTargetInfo::getTargetBuiltins() con
https://github.com/bogner commented:
A minor comment on naming of the builtins but this generally looks good
https://github.com/llvm/llvm-project/pull/135120
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman
@@ -1,34 +1,117 @@
-// RUN: %clang_cc1 -triple dxil-pc-shadermodel6.3-library -x hlsl -emit-llvm
-disable-llvm-passes -o - %s | FileCheck %s --check-prefixes=CHECK,CHECK-DXIL
+// RUN: %clang_cc1 -Wno-hlsl-implicit-binding -triple
dxil-pc-shadermodel6.3-library -emit-llvm -disabl
https://github.com/DaanDeMeyer created
https://github.com/llvm/llvm-project/pull/137840
Sorting by stem gives nicer results when various header file names are
substrings of other header file names, for example, a CLI application with a
main header named analyze.h and a analyze-xxx.h header for
https://github.com/bogner edited
https://github.com/llvm/llvm-project/pull/135120
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -4801,6 +4801,18 @@ def HLSLResourceGetPointer : LangBuiltin<"HLSL_LANG"> {
let Prototype = "void(...)";
}
+def HLSLResourceCreatePoisonHandle : LangBuiltin<"HLSL_LANG"> {
+ let Spellings = ["__builtin_hlsl_resource_createpoisonhandle"];
+ let Attributes = [NoThrow];
+
https://github.com/DaanDeMeyer edited
https://github.com/llvm/llvm-project/pull/137840
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/DaanDeMeyer edited
https://github.com/llvm/llvm-project/pull/137840
___
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: Daan De Meyer (DaanDeMeyer)
Changes
Sorting by stem gives nicer results when various header file names are
substrings of other header file names, for example, a CLI application with a
main header named analyze.h and a analyze-xxx.h
Author: Fraser Cormack
Date: 2025-04-29T17:33:21+01:00
New Revision: 694a42f018d0847005e6b6ad1aa2f22a64f1f482
URL:
https://github.com/llvm/llvm-project/commit/694a42f018d0847005e6b6ad1aa2f22a64f1f482
DIFF:
https://github.com/llvm/llvm-project/commit/694a42f018d0847005e6b6ad1aa2f22a64f1f482.diff
https://github.com/frasercrmck closed
https://github.com/llvm/llvm-project/pull/137824
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ykhatav edited
https://github.com/llvm/llvm-project/pull/137818
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ykhatav closed
https://github.com/llvm/llvm-project/pull/137682
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/mshockwave edited
https://github.com/llvm/llvm-project/pull/137865
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/mshockwave edited
https://github.com/llvm/llvm-project/pull/137865
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
mshockwave wrote:
> If the `"-target-feature" "+sscofpmf"` was already present in the test
> output, just not looked for, then I think you should just mark this as
> `[NFC]`.
Agree. It's updated now.
https://github.com/llvm/llvm-project/pull/137865
https://github.com/DaanDeMeyer updated
https://github.com/llvm/llvm-project/pull/137840
>From 4747e31443d9dc273f875782f32e2e47ca9c2cbf Mon Sep 17 00:00:00 2001
From: Daan De Meyer
Date: Tue, 29 Apr 2025 18:26:36 +0200
Subject: [PATCH] clang-format: Sort includes by stem rather than full filenam
https://github.com/Prabhuk created
https://github.com/llvm/llvm-project/pull/137872
There is no support for shared libraries for UEFI target. Remove the
incorrect -dll flag set from UEFI toolchain.
>From 60473fc01469167d742cee1fcdc1b05b93482f94 Mon Sep 17 00:00:00 2001
From: prabhukr
Date: Tu
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Prabhu Rajasekaran (Prabhuk)
Changes
There is no support for shared libraries for UEFI target. Remove the
incorrect -dll flag set from UEFI toolchain.
---
Full diff: https://github.com/llvm/llvm-project/pull/137872.diff
2 Files Affected
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `lldb-aarch64-windows`
running on `linaro-armv8-windows-msvc-05` while building `clang,llvm` at step 6
"test".
Full details are available at:
https://lab.llvm.org/buildbot/#/builders/141/builds/8317
Here is the relevant piec
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Prabhu Rajasekaran (Prabhuk)
Changes
Rename function to meet the coding guidelines. I am working on a similar
function in a subsequent PR. Landing this as NFC first to isolate this
change.
---
Full diff: https://github.com/llvm/llvm-proje
https://github.com/Prabhuk created
https://github.com/llvm/llvm-project/pull/137874
Rename function to meet the coding guidelines. I am working on a similar
function in a subsequent PR. Landing this as NFC first to isolate this
change.
>From 45778ad1a6cd0d7ce6333f6e8b69d4f4138b962e Mon Sep 17
mstorsjo wrote:
I guess another way about it, is to require me to copy in all dependent DLLs
into the built `bin` directory next to `clang.exe` etc. But that's an extra
step that hasn't been needed so far...
https://github.com/llvm/llvm-project/pull/135876
_
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Justin Bogner (bogner)
Changes
This adds overloads for the `lerp` function that accept a scalar for the weight
parameter by splatting it into the appropriate vector.
Fixes #137827
---
Full diff: https://github.com/llvm/llvm-project/pull/
https://github.com/Prabhuk updated
https://github.com/llvm/llvm-project/pull/137874
>From 45778ad1a6cd0d7ce6333f6e8b69d4f4138b962e Mon Sep 17 00:00:00 2001
From: prabhukr
Date: Tue, 29 Apr 2025 13:43:32 -0700
Subject: [PATCH] [nfc][clang] Rename function
Rename function to meet the coding guid
mstorsjo wrote:
These tests that run `env PATH="" %clang_dxc ...` are problematic for my setup
for running tests on Windows.
In my builds, I'm building with a dynamically linked `libc++.dll` provided by
my toolchain, which is available in `$PATH`, so the built `bin/clang.exe`
requires finding
https://github.com/bogner created
https://github.com/llvm/llvm-project/pull/137877
This adds overloads for the `lerp` function that accept a scalar for the weight
parameter by splatting it into the appropriate vector.
Fixes #137827
>From 64cc675721623a793d06a1208089dc9431409835 Mon Sep 17 00:
https://github.com/AmrDeveloper updated
https://github.com/llvm/llvm-project/pull/137511
>From 98eaaf0a64dc811481aab37da0939fa0d374a4f6 Mon Sep 17 00:00:00 2001
From: AmrDeveloper
Date: Sat, 26 Apr 2025 18:43:00 +0200
Subject: [PATCH 1/3] [CIR] Upstream global initialization for VectorType
---
https://github.com/AmrDeveloper updated
https://github.com/llvm/llvm-project/pull/137511
>From 153f0c0daa33b1c71ced4a0f050d49656e72f505 Mon Sep 17 00:00:00 2001
From: AmrDeveloper
Date: Sat, 26 Apr 2025 18:43:00 +0200
Subject: [PATCH 1/3] [CIR] Upstream global initialization for VectorType
---
@@ -795,43 +787,52 @@ emitInfo(const CXXMethodDecl *D, const FullComment *FC,
int LineNumber,
}
std::pair, std::unique_ptr>
-emitInfo(const TypedefDecl *D, const FullComment *FC, int LineNumber,
- StringRef File, bool IsFileInRootDir, bool PublicOnly) {
- TypedefInfo
@@ -215,6 +215,37 @@ def ConstArrayAttr : CIR_Attr<"ConstArray", "const_array",
[TypedAttrInterface]>
}];
}
+//===--===//
+// ConstVectorAttr
+//===--
https://github.com/bogner approved this pull request.
https://github.com/llvm/llvm-project/pull/135120
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/DaanDeMeyer updated
https://github.com/llvm/llvm-project/pull/137840
>From ce0cb8586871f30f7e0883209f4bd30bf63471c5 Mon Sep 17 00:00:00 2001
From: Daan De Meyer
Date: Tue, 29 Apr 2025 18:26:36 +0200
Subject: [PATCH] clang-format: Sort includes by stem rather than full filenam
https://github.com/AmrDeveloper edited
https://github.com/llvm/llvm-project/pull/137511
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -365,6 +365,32 @@ def SIFIVE_P670 : RISCVProcessorModel<"sifive-p670",
SiFiveP600Model,
TuneVXRMPipelineFlush,
TunePostRAScheduler]>;
+def SIFIVE_P870 : RISCVProcessorModel<"sifive-p870", NoSched
@@ -365,6 +365,32 @@ def SIFIVE_P670 : RISCVProcessorModel<"sifive-p670",
SiFiveP600Model,
TuneVXRMPipelineFlush,
TunePostRAScheduler]>;
+def SIFIVE_P870 : RISCVProcessorModel<"sifive-p870", NoSched
@@ -2,16 +2,20 @@
// RUN: %clang_cc1 -Wreorder -fsyntax-only -verify -std=c++98 %s
// RUN: %clang_cc1 -Wreorder -fsyntax-only -verify -std=c++11 %s
-class A {
+class A {
+ // expected-note@-1 {{candidate constructor}}
+#if __cplusplus >= 201103L // C++11 or later
+ // expec
https://github.com/lenary approved this pull request.
https://github.com/llvm/llvm-project/pull/137865
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
alanzhao1 wrote:
The buildkite failure can be ignored; the offending test
(Unwind/split-machine-functions.test) also fails on `main` (or rather the
parent commit of this PR's branch).
https://github.com/llvm/llvm-project/pull/137737
___
cfe-commits m
bwendling wrote:
Friendly ping.
https://github.com/llvm/llvm-project/pull/136239
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/bogner approved this pull request.
https://github.com/llvm/llvm-project/pull/137720
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Min-Yih Hsu
Date: 2025-04-29T14:19:51-07:00
New Revision: 74593f667823025580e046e56d48d7a9899b8956
URL:
https://github.com/llvm/llvm-project/commit/74593f667823025580e046e56d48d7a9899b8956
DIFF:
https://github.com/llvm/llvm-project/commit/74593f667823025580e046e56d48d7a9899b8956.diff
L
https://github.com/mshockwave closed
https://github.com/llvm/llvm-project/pull/137865
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
wlei-llvm wrote:
ping:)
https://github.com/llvm/llvm-project/pull/136333
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/bogner edited
https://github.com/llvm/llvm-project/pull/137690
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/bogner commented:
A couple of minor comments. The direction seems reasonable to me, but it'd be
good to get someone more familiar with the Parser and AST to weigh in.
https://github.com/llvm/llvm-project/pull/137690
___
cfe-commits
@@ -5209,6 +5211,92 @@ void
Parser::ParseMicrosoftUuidAttributeArgs(ParsedAttributes &Attrs) {
}
}
+void Parser::ParseMicrosoftRootSignatureAttributeArgs(ParsedAttributes &Attrs)
{
+ assert(Tok.is(tok::identifier) && "Not a Microsoft attribute list");
+ IdentifierInfo *R
@@ -5209,6 +5211,92 @@ void
Parser::ParseMicrosoftUuidAttributeArgs(ParsedAttributes &Attrs) {
}
}
+void Parser::ParseMicrosoftRootSignatureAttributeArgs(ParsedAttributes &Attrs)
{
+ assert(Tok.is(tok::identifier) && "Not a Microsoft attribute list");
+ IdentifierInfo *R
@@ -5209,6 +5211,92 @@ void
Parser::ParseMicrosoftUuidAttributeArgs(ParsedAttributes &Attrs) {
}
}
+void Parser::ParseMicrosoftRootSignatureAttributeArgs(ParsedAttributes &Attrs)
{
+ assert(Tok.is(tok::identifier) && "Not a Microsoft attribute list");
+ IdentifierInfo *R
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Erich Keane (erichkeane)
Changes
These two don't result in a statement, so the attempt to apply the attributes
to them was crashing. This patch correctly prohibits the use of attributes on
these clauses.
Fixes: #137861
---
Full diff: h
https://github.com/erichkeane created
https://github.com/llvm/llvm-project/pull/137880
These two don't result in a statement, so the attempt to apply the attributes
to them was crashing. This patch correctly prohibits the use of attributes on
these clauses.
Fixes: #137861
>From be6d7e3fcf4e
301 - 400 of 482 matches
Mail list logo