https://github.com/PatriosTheGreat updated
https://github.com/llvm/llvm-project/pull/73549
>From 1c24a6774f08c9943cce1a2eee96a6a92b11fd02 Mon Sep 17 00:00:00 2001
From: Levon Ter-Grigoryan
Date: Mon, 27 Nov 2023 18:09:22 +0100
Subject: [PATCH] [CUDA][HIP] Exclude external variables from constan
vvereschaka wrote:
Works fine on my builder. Thank you. I'm going to land this patch.
https://github.com/llvm/llvm-project/pull/75556
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Vladimir Vereschaka
Date: 2023-12-20T00:11:12-08:00
New Revision: 7022a24771c8404f847abb226735a3ae21794426
URL:
https://github.com/llvm/llvm-project/commit/7022a24771c8404f847abb226735a3ae21794426
DIFF:
https://github.com/llvm/llvm-project/commit/7022a24771c8404f847abb226735a3ae21794426
@@ -7,13 +7,17 @@
! RUN: %flang -### --target=x86_64-windows-msvc -rpath /path/to/dir -shared \
! RUN: -static %s 2>&1 | FileCheck \
! RUN: --check-prefixes=MSVC-LINKER-OPTIONS %s
+! RUN: %flang -### --target=aarch64-linux-none -rdynamic %s 2>&1 | FileCheck
--check-pre
banach-space wrote:
@kkwli and @DanielCChen - could you review
https://github.com/llvm/llvm-project/pull/75816 and see whether that makes
sense to you? I am referring specifically to the documentation that @mjklemm is
kindly adding. Hopefully that will help folks avoid similar issues in the
f
https://github.com/SunilKuravinakop updated
https://github.com/llvm/llvm-project/pull/75709
>From fe931d64741f427629407bca3e68a61bec6f2b67 Mon Sep 17 00:00:00 2001
From: Sunil Kuravinakop
Date: Sat, 16 Dec 2023 11:43:35 -0600
Subject: [PATCH 1/2] Adding parameter to fail clause (i.e. memory ord
https://github.com/bzEq created https://github.com/llvm/llvm-project/pull/76025
This is copied from https://reviews.llvm.org/D109139.
`__STDC_NO_ATOMICS__` is predefined to indicate clang on AIX doesn't support
`_Atomic` and not shipped with `stdatomic.h` yet. Actually `_Atomic` is already
sup
https://github.com/SunilKuravinakop updated
https://github.com/llvm/llvm-project/pull/75709
>From fe931d64741f427629407bca3e68a61bec6f2b67 Mon Sep 17 00:00:00 2001
From: Sunil Kuravinakop
Date: Sat, 16 Dec 2023 11:43:35 -0600
Subject: [PATCH 1/2] Adding parameter to fail clause (i.e. memory ord
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Kai Luo (bzEq)
Changes
This is copied from https://reviews.llvm.org/D109139.
`__STDC_NO_ATOMICS__` is predefined to indicate clang on AIX doesn't support
`_Atomic` and not shipped with `stdatomic.h` yet. Actually `_Atomic` is already
sup
https://github.com/Radu2k updated
https://github.com/llvm/llvm-project/pull/74598
>From fda39a4d196c6cdafe3ee42358c962ef0173aaca Mon Sep 17 00:00:00 2001
From: Radu2k
Date: Wed, 6 Dec 2023 14:39:24 +
Subject: [PATCH 01/12] Pass to add frame pointer attribute
---
.../include/flang/Frontend
@@ -245,6 +245,24 @@ static void
parseCodeGenArgs(Fortran::frontend::CodeGenOptions &opts,
opts.AliasAnalysis = opts.OptimizationLevel > 0;
+ if (const llvm::opt::Arg *a =
+ args.getLastArg(clang::driver::options::OPT_mframe_pointer_EQ)) {
+llvm::StringRef s
https://github.com/SunilKuravinakop ready_for_review
https://github.com/llvm/llvm-project/pull/75709
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -245,6 +245,24 @@ static void
parseCodeGenArgs(Fortran::frontend::CodeGenOptions &opts,
opts.AliasAnalysis = opts.OptimizationLevel > 0;
+ if (const llvm::opt::Arg *a =
+ args.getLastArg(clang::driver::options::OPT_mframe_pointer_EQ)) {
+llvm::StringRef s
@@ -51,9 +51,9 @@
! Content to check from the MLIR outputs
!--
! MLIR-FIR-NOT: llvm.func
-! MLIR-FIR: func.func @{{.*}}main() {
+! MLIR-FIR: func.func @{{.*}}main(){{.*}}{
banach-space wrote:
What do these extra braces capture?
https:/
@@ -245,6 +245,24 @@ static void
parseCodeGenArgs(Fortran::frontend::CodeGenOptions &opts,
opts.AliasAnalysis = opts.OptimizationLevel > 0;
+ if (const llvm::opt::Arg *a =
+ args.getLastArg(clang::driver::options::OPT_mframe_pointer_EQ)) {
+llvm::StringRef s
https://github.com/jensmassberg approved this pull request.
Thanks for the fix!
https://github.com/llvm/llvm-project/pull/75795
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/martinboehme created
https://github.com/llvm/llvm-project/pull/76027
This template function casts the result of `getValue()` or
`getStorageLocation()` to a given subclass of `Value` or `StorageLocation`
(using `cast_or_null`).
It's a common pattern to do something like this:
llvmbot wrote:
@llvm/pr-subscribers-clang-analysis
Author: None (martinboehme)
Changes
This template function casts the result of `getValue()` or
`getStorageLocation()` to a given subclass of `Value` or `StorageLocation`
(using `cast_or_null`).
It's a common pattern to do something like t
https://github.com/martinboehme edited
https://github.com/llvm/llvm-project/pull/76027
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Haojian Wu
Date: 2023-12-20T10:08:43+01:00
New Revision: 3b1f06e52712a56bf33757d596482c60013d63fd
URL:
https://github.com/llvm/llvm-project/commit/3b1f06e52712a56bf33757d596482c60013d63fd
DIFF:
https://github.com/llvm/llvm-project/commit/3b1f06e52712a56bf33757d596482c60013d63fd.diff
LO
https://github.com/hokein closed https://github.com/llvm/llvm-project/pull/75795
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/cor3ntin approved this pull request.
LGTM, thanks
https://github.com/llvm/llvm-project/pull/76007
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/CarolineConcatto approved this pull request.
https://github.com/llvm/llvm-project/pull/75596
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -2679,6 +2679,8 @@ Parser::ParseCXXClassMemberDeclaration(AccessSpecifier AS,
ParsedAttributes &AccessAttrs,
const ParsedTemplateInfo &TemplateInfo,
ParsingDe
petrhosek wrote:
I have discovered another issue, on Fuchsia `libclang_rt.builtins.a` now has a
reference to `getauxval` which it didn't have before. This is really
undesirable because on Fuchsia, there's no `auxv` to begin with. I believe this
is because before, the `__init_cpu_features` defi
https://github.com/cor3ntin commented:
Thanks for fixing this bug.
LGTM modulo nit
https://github.com/llvm/llvm-project/pull/74926
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/sdesmalen-arm edited
https://github.com/llvm/llvm-project/pull/75958
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/sdesmalen-arm commented:
I also noticed that a number of tests are failing with your patch at the moment.
https://github.com/llvm/llvm-project/pull/75958
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/
@@ -679,6 +679,7 @@ bool AArch64TargetInfo::hasFeature(StringRef Feature) const
{
.Case("f32mm", FPU & SveMode && HasMatmulFP32)
.Case("f64mm", FPU & SveMode && HasMatmulFP64)
.Case("sve2", FPU & SveMode && HasSVE2)
+ .Case("sve2p1", HasSVE2p1)
-
@@ -8,7 +8,7 @@
// RUN: %clang_cc1 -fclang-abi-compat=latest -DSVE_OVERLOADED_FORMS -triple
aarch64-none-linux-gnu -target-feature +sve2p1 -S -disable-O0-optnone -Werror
-Wall -emit-llvm -o - %s | opt -S -p mem2reg,instcombine,tailcallelim |
FileCheck %s
// RUN: %clang_cc1 -f
@@ -1,78 +0,0 @@
-// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
sdesmalen-arm wrote:
Why is this file removed? (same question for `acle_sve2p1_sclamp.c`)
https://github.com/llvm/llvm-project/pull/75958
https://github.com/xu-chiheng closed
https://github.com/llvm/llvm-project/pull/75395
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1990,79 +1990,61 @@ def SVWHILELO_COUNT : SInst<"svwhilelo_{d}", "}nni",
"QcQsQiQl", MergeNone, "a
def SVWHILELS_COUNT : SInst<"svwhilels_{d}", "}nni", "QcQsQiQl", MergeNone,
"aarch64_sve_whilels_{d}", [IsOverloadNone], [ImmCheck<2, ImmCheck2_4_Mul2>]>;
def SVWHILEHI_C
https://github.com/ln8-8 updated https://github.com/llvm/llvm-project/pull/75182
>From e6bf0819c96fcfbd73d711acc951065e2ed22d8c Mon Sep 17 00:00:00 2001
From: ln8-8
Date: Tue, 12 Dec 2023 12:47:32 +0400
Subject: [PATCH 1/3] [RISCV][MC] Add support for experimental Zimop extension
This implement
https://github.com/boxu-zhang updated
https://github.com/llvm/llvm-project/pull/76029
>From 60030d96d27d23ef2049a3888d65721be51c4481 Mon Sep 17 00:00:00 2001
From: "boxu.zhang"
Date: Wed, 20 Dec 2023 17:35:25 +0800
Subject: [PATCH] Make 'UnrollMaxUpperBound' to be overridable by target. The
de
cor3ntin wrote:
I agree with @tbaederr, fixing the underlying issue - either by optimizing
divide (good luck!) or printing in hexadecimal, seems like a better solution.
At the minimum, we should have a fixme comment to explain the restriction
@tbaederr @erichkeane @shafik opinion?
https://gi
https://github.com/jcsxky updated
https://github.com/llvm/llvm-project/pull/74813
>From d1f48502c1ec7a58ca18a19dc3631265e5c1b137 Mon Sep 17 00:00:00 2001
From: huqizhi
Date: Fri, 8 Dec 2023 15:26:01 +0800
Subject: [PATCH] [clang][ASTImporter] Support Importer of BuiltinBitCastExpr
---
clang/l
@@ -3220,6 +3220,12 @@ TEST_P(ImportExpr, UnresolvedMemberExpr) {
compoundStmt(has(callExpr(has(unresolvedMemberExpr());
}
+TEST_P(ImportExpr, BuiltinBitCastExpr) {
+ MatchVerifier Verifier;
+ testImport("void declToImport(int T) { (void)__builtin_bi
ilya-biryukov wrote:
Thanks a lot! This fixes the problem we encountered with ranking includes.
https://github.com/llvm/llvm-project/pull/75965
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-
https://github.com/ilya-biryukov approved this pull request.
https://github.com/llvm/llvm-project/pull/75965
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: kadir çetinkaya
Date: 2023-12-20T10:48:18+01:00
New Revision: cf048e16a7c682a3ed5abb32702c3048fcad7638
URL:
https://github.com/llvm/llvm-project/commit/cf048e16a7c682a3ed5abb32702c3048fcad7638
DIFF:
https://github.com/llvm/llvm-project/commit/cf048e16a7c682a3ed5abb32702c3048fcad7638.dif
https://github.com/ilya-biryukov closed
https://github.com/llvm/llvm-project/pull/75965
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/sdesmalen-arm approved this pull request.
https://github.com/llvm/llvm-project/pull/75584
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
cor3ntin wrote:
@sam-mccall are you still working on this?
https://github.com/llvm/llvm-project/pull/65484
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/martinboehme updated
https://github.com/llvm/llvm-project/pull/76027
>From 9fd1ed96c1b7934754b6fefd7b01a62d4a391d73 Mon Sep 17 00:00:00 2001
From: Martin Braenne
Date: Wed, 20 Dec 2023 10:01:10 +
Subject: [PATCH] [clang][dataflow] Add `Environment::get<>()`.
This templat
https://github.com/UmeshKalappa0 updated
https://github.com/llvm/llvm-project/pull/75564
>From 4125e4a709c594562fa6c52f045ba7442e3cb523 Mon Sep 17 00:00:00 2001
From: Umesh Kalappa
Date: Fri, 15 Dec 2023 11:52:52 +0530
Subject: [PATCH 1/4] Problem :For Kernel Modules ,emitting the relocs like
https://github.com/pratlucas closed
https://github.com/llvm/llvm-project/pull/75783
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -227,6 +227,7 @@ def IsPreservesZA : FlagType<0x100>;
def IsReadZA : FlagType<0x200>;
def IsWriteZA : FlagType<0x400>;
def IsReductionQV : FlagType<0x800>;
+def IsStreamingOrSVE2p1
https://github.com/momchil-velikov closed
https://github.com/llvm/llvm-project/pull/75596
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/sdesmalen-arm approved this pull request.
https://github.com/llvm/llvm-project/pull/75737
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -14,9 +14,6 @@
#ifndef __ADXINTRIN_H
#define __ADXINTRIN_H
-/* Define the default attributes for the functions in this file. */
-#define __DEFAULT_FN_ATTRS __attribute__((__always_inline__, __nodebug__))
RKSimon wrote:
(minor) You could put this back with
@@ -0,0 +1,93 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
UTC_ARGS: --version 4
+; RUN: llc < %s -mtriple=i386-unknown-unknown | FileCheck %s
--check-prefixes=I386
+; RUN: llc < %s -mtriple=x86_64-unknown-unknown | FileCheck %s
--check-pref
https://github.com/madanial0 created
https://github.com/llvm/llvm-project/pull/76039
The AIX linker does not support the `--whole-archive` option, removing the
option if the OS is AIX.
>From 30f511b804d7a1a5a5f80daf0bef928ff7643971 Mon Sep 17 00:00:00 2001
From: Mark Danial
Date: Wed, 20 Dec
llvmbot wrote:
@llvm/pr-subscribers-flang-driver
Author: None (madanial0)
Changes
The AIX linker does not support the `--whole-archive` option, removing the
option if the OS is AIX.
---
Full diff: https://github.com/llvm/llvm-project/pull/76039.diff
2 Files Affected:
- (modified) clan
llvmbot wrote:
@llvm/pr-subscribers-clang-driver
@llvm/pr-subscribers-clang
Author: None (madanial0)
Changes
The AIX linker does not support the `--whole-archive` option, removing the
option if the OS is AIX.
---
Full diff: https://github.com/llvm/llvm-project/pull/76039.diff
2 Files A
@@ -1,7 +1,7 @@
-// RUN: %clang_cc1 -triple x86_64-linux -std=c++98 %s -O3 -disable-llvm-passes
-pedantic-errors -emit-llvm -o - | FileCheck %s
dybv-sc wrote:
I am sure that level 3 optimization should cut out all stack manipulation here
leaving only one necess
@@ -227,6 +227,7 @@ def IsPreservesZA : FlagType<0x100>;
def IsReadZA : FlagType<0x200>;
def IsWriteZA : FlagType<0x400>;
def IsReductionQV : FlagType<0x800>;
+def IsStreamingOrSVE2p1
https://github.com/nikic edited https://github.com/llvm/llvm-project/pull/68882
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/nikic ready_for_review
https://github.com/llvm/llvm-project/pull/68882
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
llvmbot wrote:
@llvm/pr-subscribers-backend-risc-v
@llvm/pr-subscribers-backend-amdgpu
@llvm/pr-subscribers-clang
Author: Nikita Popov (nikic)
Changes
This patch canonicalizes getelementptr instructions with constant indices to
use the `i8` source element type. This makes it easier for op
@@ -560,14 +560,15 @@ define i32 @test28() nounwind {
; CHECK-NEXT: entry:
; CHECK-NEXT:[[ORIENTATIONS:%.*]] = alloca [1 x [1 x %struct.x]], align 8
; CHECK-NEXT:[[T3:%.*]] = call i32 @puts(ptr noundef nonnull
dereferenceable(1) @.str) #[[ATTR0]]
+; CHECK-NEXT:[[
https://github.com/nikic edited https://github.com/llvm/llvm-project/pull/68882
___
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/68882
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
jthackray wrote:
Long diff! Looks good to me, great work.
https://github.com/llvm/llvm-project/pull/75947
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/jthackray approved this pull request.
+2
https://github.com/llvm/llvm-project/pull/75947
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/martinboehme created
https://github.com/llvm/llvm-project/pull/76042
Instead, synthetic fields should now be used for the same purpose. These have a
number of advantages, as described in
https://github.com/llvm/llvm-project/pull/73860, and longer-term, we want to
eliminate `Re
llvmbot wrote:
@llvm/pr-subscribers-clang-analysis
Author: None (martinboehme)
Changes
Instead, synthetic fields should now be used for the same purpose. These have a
number of advantages, as described in
https://github.com/llvm/llvm-project/pull/73860, and longer-term, we want to
eliminat
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: None (martinboehme)
Changes
Instead, synthetic fields should now be used for the same purpose. These have a
number of advantages, as described in
https://github.com/llvm/llvm-project/pull/73860, and longer-term, we want to
eliminate `Record
markoshorro wrote:
@fhahn yeah, thanks. I'm investigating this.
https://github.com/llvm/llvm-project/pull/71072
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
fhahn wrote:
@markoshorro Great thanks. Please revert the patch if you won't be able to fix
this today.
https://github.com/llvm/llvm-project/pull/71072
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/list
https://github.com/madanial0 updated
https://github.com/llvm/llvm-project/pull/76039
>From a61a1c050612493d17b5ec199d00c38afdee8663 Mon Sep 17 00:00:00 2001
From: Mark Danial
Date: Wed, 20 Dec 2023 05:38:28 -0500
Subject: [PATCH] [Flang] remove whole-archive option for AIX linker
---
clang/li
bd1976bris wrote:
Thanks for the responses.
> The meaning that we want to make clear is that this toggles the special
> behavior of forcing the visibility of these symbols despite all the other
> mechanisms that usually control visibility for all other symbols.
Agreed. I'm in favour of your s
@@ -245,6 +245,24 @@ static void
parseCodeGenArgs(Fortran::frontend::CodeGenOptions &opts,
opts.AliasAnalysis = opts.OptimizationLevel > 0;
+ if (const llvm::opt::Arg *a =
+ args.getLastArg(clang::driver::options::OPT_mframe_pointer_EQ)) {
+llvm::StringRef s
gendalph wrote:
In real projects mix enum class with old int switch. Try to update defaults and
have noise from enum class case.
My be mix options -Wswitch -Wswitch-default can disable warning in enum class
case without default if full covered?
https://godbolt.org/z/xrdafn6WK
https://github.
https://github.com/DimitryAndric updated
https://github.com/llvm/llvm-project/pull/75935
>From 4b3db6bdaf9f94277f23bf9a796f474a353e4d73 Mon Sep 17 00:00:00 2001
From: Dimitry Andric
Date: Tue, 19 Dec 2023 13:37:37 +0100
Subject: [PATCH] [clang] Add getClangVendor() and use it in CodeGenModule.c
https://github.com/DimitryAndric edited
https://github.com/llvm/llvm-project/pull/75935
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
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 b01adc6bed7e5b924dd8a097be0aa893f4823905
4b3db6bdaf9f94277f23bf9a796f474a353e4d73 --
kiranchandramohan wrote:
Looks reasonable to me.
I guess the environment settings that are there in the EnvironmentDefaults
apply only when the main program is compiled with some flags. It would be good
to check the options in EnvironmentDefaults and see that they are all
applicable only when
https://github.com/DimitryAndric updated
https://github.com/llvm/llvm-project/pull/75935
>From ab5263e77e19ede918faf517dd348018c1982590 Mon Sep 17 00:00:00 2001
From: Dimitry Andric
Date: Tue, 19 Dec 2023 13:37:37 +0100
Subject: [PATCH] [clang] Add getClangVendor() and use it in CodeGenModule.c
@@ -51,9 +51,9 @@
! Content to check from the MLIR outputs
!--
! MLIR-FIR-NOT: llvm.func
-! MLIR-FIR: func.func @{{.*}}main() {
+! MLIR-FIR: func.func @{{.*}}main(){{.*}}{
Radu2k wrote:
This was added due to failing the test when it was
@@ -995,12 +995,7 @@ void CodeGenModule::Release() {
uint32_t(CLANG_VERSION_MINOR));
getModule().addModuleFlag(llvm::Module::Warning, "zos_product_patchlevel",
uint32_t(CLANG_VERSION_PATCHLEVEL));
-std::string
gendalph wrote:
Using an enum class without default is a good opportunity to get a warning in
all places of use in the switch construct when adding new elements to the enum
https://github.com/llvm/llvm-project/pull/73077
___
cfe-commits mailing list
c
https://github.com/Radu2k updated
https://github.com/llvm/llvm-project/pull/75598
>From 6180787f9bc9449ce90999c3c5f9c96cfd057a50 Mon Sep 17 00:00:00 2001
From: Radu2k
Date: Fri, 15 Dec 2023 12:11:04 +
Subject: [PATCH 1/3] Enable and test 'rdynamic' flag
---
clang/include/clang/Driver/Opti
@@ -6580,6 +6578,51 @@ void CodeGenFunction::EmitOMPAtomicDirective(const
OMPAtomicDirective &S) {
}
}
+ if (KindsEncountered.contains(OMPC_compare) &&
+ KindsEncountered.contains(OMPC_fail)) {
+Kind = OMPC_compare;
+const OMPFailClause *fC = S.getSingleCl
@@ -6580,6 +6578,51 @@ void CodeGenFunction::EmitOMPAtomicDirective(const
OMPAtomicDirective &S) {
}
}
+ if (KindsEncountered.contains(OMPC_compare) &&
+ KindsEncountered.contains(OMPC_fail)) {
+Kind = OMPC_compare;
+const OMPFailClause *fC = S.getSingleCl
Author: Abhina Sree
Date: 2023-12-20T08:44:40-05:00
New Revision: e86a02ce89c33f3fa4061fb4c67c3b05c69a72ab
URL:
https://github.com/llvm/llvm-project/commit/e86a02ce89c33f3fa4061fb4c67c3b05c69a72ab
DIFF:
https://github.com/llvm/llvm-project/commit/e86a02ce89c33f3fa4061fb4c67c3b05c69a72ab.diff
L
https://github.com/abhina-sree closed
https://github.com/llvm/llvm-project/pull/75928
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/googlewalt updated
https://github.com/llvm/llvm-project/pull/75827
>From eefa77a7cc7c671ef1551239e473f0267527dfa3 Mon Sep 17 00:00:00 2001
From: Walter Lee
Date: Mon, 18 Dec 2023 11:41:43 -0500
Subject: [PATCH 1/2] Add tests for driver to propagate module map flags when
-fno
@@ -57,6 +57,14 @@
// CHECK-MODULE-MAP-FILES: "-fmodule-map-file=foo.map"
// CHECK-MODULE-MAP-FILES: "-fmodule-map-file=bar.map"
+// RUN: %clang -fno-modules -fmodule-name=foo -c -### %s 2>&1 | FileCheck
-check-prefix=CHECK-PROPAGATE-MODULE-NAME %s
googlewalt
@@ -163,6 +163,40 @@ forward compiler options to the frontend driver,
`flang-new -fc1`.
You can read more on the design of `clangDriver` in Clang's [Driver Design &
Internals](https://clang.llvm.org/docs/DriverInternals.html).
+## Linker Driver
+When used as a linker, Flang's
https://github.com/hnakamura5 created
https://github.com/llvm/llvm-project/pull/76059
Currently, TableGen has its language style but the it does not works well. This
patch adds total support of TableGen formatting including the support for the
code (multi line string), DAG args, bang operators
github-actions[bot] wrote:
Thank you for submitting a Pull Request (PR) to the LLVM Project!
This PR will be automatically labeled and the relevant teams will be
notified.
If you wish to, you can add reviewers by using the "Reviewers" section on this
page.
If this is not working for you, it i
llvmbot wrote:
@llvm/pr-subscribers-clang-format
Author: H.Nakamura (hnakamura5)
Changes
Currently, TableGen has its language style but the it does not works well. This
patch adds total support of TableGen formatting including the support for the
code (multi line string), DAG args, bang
@@ -679,6 +679,7 @@ bool AArch64TargetInfo::hasFeature(StringRef Feature) const
{
.Case("f32mm", FPU & SveMode && HasMatmulFP32)
.Case("f64mm", FPU & SveMode && HasMatmulFP64)
.Case("sve2", FPU & SveMode && HasSVE2)
+ .Case("sve2p1", HasSVE2p1)
-
@@ -8,7 +8,7 @@
// RUN: %clang_cc1 -fclang-abi-compat=latest -DSVE_OVERLOADED_FORMS -triple
aarch64-none-linux-gnu -target-feature +sve2p1 -S -disable-O0-optnone -Werror
-Wall -emit-llvm -o - %s | opt -S -p mem2reg,instcombine,tailcallelim |
FileCheck %s
// RUN: %clang_cc1 -f
https://github.com/balazske approved this pull request.
https://github.com/llvm/llvm-project/pull/74813
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -11,10 +11,16 @@
// RUN: %clang_cc1 -fclang-abi-compat=latest -triple aarch64-none-linux-gnu
-target-feature +sve2p1 \
// RUN: -S -disable-O0-optnone -Werror -Wall -o /dev/null %s
// RUN: %clang_cc1 -fclang-abi-compat=latest -triple aarch64-none-linux-gnu
-target-feature
hnakamura5 wrote:
The failure in Check code formatting seems to be caused by the commit
(replacing to clang-format style)
https://github.com/llvm/llvm-project/commit/5c60e2ce78e79c2d15152e08d9e28fcf3a1d4e51
I avoid this by using clang-format binary from main branch in my local.
What should I do
https://github.com/ymand edited https://github.com/llvm/llvm-project/pull/76027
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ymand approved this pull request.
https://github.com/llvm/llvm-project/pull/76027
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
1 - 100 of 287 matches
Mail list logo