@@ -2466,15 +2466,21 @@ Preprocessor::ImportAction
Preprocessor::HandleHeaderIncludeOrImport(
// The drive letter is optional for absolute paths on Windows, but
// clang currently cannot process absolute paths in #include lines that
// don't have a driv
Artem-B wrote:
I'm not familiar enough with MSVC.
@rnk -- what's the best way to check for compilation with microsoft's stardard
C++ library?
https://github.com/llvm/llvm-project/pull/73756
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
htt
https://github.com/MaskRay approved this pull request.
%T is deprecated in lit. You may want to migrate other `%T` related to AMDGPU.
https://github.com/llvm/llvm-project/pull/74783
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.
https://github.com/haopliu edited
https://github.com/llvm/llvm-project/pull/74777
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/JMazurkiewicz updated
https://github.com/llvm/llvm-project/pull/74655
>From b3de573887cdd86fd6ce168bdcc6d729d73b13b2 Mon Sep 17 00:00:00 2001
From: Jakub Mazurkiewicz
Date: Wed, 6 Dec 2023 14:03:51 +0100
Subject: [PATCH 01/11] [libc++] Fix `take_view::__sentinel`'s `operator=
Author: Mike Rice
Date: 2023-12-07T16:20:22-08:00
New Revision: 0808be47b8fbf0307d0b6f2eb45ba9bfe1b3ae65
URL:
https://github.com/llvm/llvm-project/commit/0808be47b8fbf0307d0b6f2eb45ba9bfe1b3ae65
DIFF:
https://github.com/llvm/llvm-project/commit/0808be47b8fbf0307d0b6f2eb45ba9bfe1b3ae65.diff
LOG
https://github.com/mikerice1969 closed
https://github.com/llvm/llvm-project/pull/74674
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
rnk wrote:
> @rnk -- what's the best way to check for compilation with microsoft's
> stardard C++ library?
If Clang is compiling with the MSVC STL headers, it should be defining
`_MSC_VER`, usually `-fms-compatibilty` has to be enabled to compile MSVC STL
headers. However, I searched, and it
@@ -1,39 +1,45 @@
-; Do setup work for all below tests: generate bitcode and combined index
-; RUN: opt -module-summary %s -o %t.bc
-; RUN: opt -module-summary %p/Inputs/thinlto_indirect_call_promotion.ll -o
%t2.bc
+; The raw profiles and reduced IR inputs are generated from
Inp
ellishg wrote:
Please remember to remove the binaries that are not used.
https://github.com/llvm/llvm-project/pull/74008
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/l
https://github.com/efriedma-quic created
https://github.com/llvm/llvm-project/pull/74790
The flag -fms-volatile has existed as a -cc1 flag for a while. It also
technically existed as a driver flag, but didn't do anything because it wasn't
wired up to anything in the driver.
This patch adds -
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Eli Friedman (efriedma-quic)
Changes
The flag -fms-volatile has existed as a -cc1 flag for a while. It also
technically existed as a driver flag, but didn't do anything because it wasn't
wired up to anything in the driver.
This patch ad
llvmbot wrote:
@llvm/pr-subscribers-clang-driver
Author: Eli Friedman (efriedma-quic)
Changes
The flag -fms-volatile has existed as a -cc1 flag for a while. It also
technically existed as a driver flag, but didn't do anything because it wasn't
wired up to anything in the driver.
This p
https://github.com/ajordanr-google created
https://github.com/llvm/llvm-project/pull/74791
process_vm_readv is generally considered dangerous from a syscall perspective,
and is frequently blanket banned in seccomp filters such as those in Chromium
and ChromiumOS. We can get the same behaviour
llvmbot wrote:
@llvm/pr-subscribers-libunwind
Author: Jordan R AW (ajordanr-google)
Changes
process_vm_readv is generally considered dangerous from a syscall perspective,
and is frequently blanket banned in seccomp filters such as those in Chromium
and ChromiumOS. We can get the same beh
@@ -1,39 +1,45 @@
-; Do setup work for all below tests: generate bitcode and combined index
-; RUN: opt -module-summary %s -o %t.bc
-; RUN: opt -module-summary %p/Inputs/thinlto_indirect_call_promotion.ll -o
%t2.bc
+; The raw profiles and reduced IR inputs are generated from
Inp
DianQK wrote:
> Hello. I think that if you removed undef from the first instruction the
> result would still be incorrect. With:
>
> ```
> $x8 = ORRXrs $xzr, $x0, 0, implicit $w0
> $w8 = ORRWrs $wzr, $w0, 0, implicit-def $x8
> ```
I'm also curious about it, but this transformation has been aro
MaskRay wrote:
Current behavior:
```
% clang --target=x86_64-linux-musl -fms-volatile -c a.cc
clang: warning: argument unused during compilation: '-fms-volatile'
[-Wunused-command-line-argument]
% clang --target=x86_64-windows -fms-volatile -c a.cc
clang: warning: argument unused during compilat
https://github.com/ebiggers edited
https://github.com/llvm/llvm-project/pull/74213
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -28,6 +28,7 @@ class RISCVTargetInfo : public TargetInfo {
protected:
std::string ABI, CPU;
std::unique_ptr ISAInfo;
+ bool HasExperimental = false;
ebiggers wrote:
Done
https://github.com/llvm/llvm-project/pull/74213
_
@@ -370,6 +371,10 @@ bool
RISCVTargetInfo::handleTargetFeatures(std::vector &Features,
ISAInfo = std::move(*ParseResult);
}
+ if (std::find(Features.begin(), Features.end(), "+experimental") !=
ebiggers wrote:
Done using `llvm::is_contained`
https://
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 0808be47b8fbf0307d0b6f2eb45ba9bfe1b3ae65
a1e8500757c8fccf819b711414453323bd65b80b --
@@ -485,7 +485,7 @@ class RVVIntrinsic {
// RVVRequire should be sync'ed with target features, but only
// required features used in riscv_vector.td.
-enum RVVRequire : uint16_t {
+enum RVVRequire : unsigned int {
ebiggers wrote:
Done. Note, I also changed t
@@ -2700,19 +2701,18 @@ bool UnwindCursor::setInfoForSigReturn(Registers_arm64 &) {
// [1]
https://github.com/torvalds/linux/blob/master/arch/arm64/kernel/vdso/sigreturn.S
const pint_t pc = static_cast(this->getReg(UNW_REG_IP));
// The PC might contain an invalid address
ebiggers wrote:
> To be safe, I think we should have an experimental tag to guard the
> intrinsics, while the extension is ratified and do indeed don't need the
> experimental.
This is already part of the pull request.
I've updated the commit message and pull request description to make it cl
ebiggers wrote:
The `clang-format` warning is from existing code, not from this pull request.
https://github.com/llvm/llvm-project/pull/74213
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-co
Author: Erich Keane
Date: 2023-12-07T17:29:18-08:00
New Revision: df3db035d60ca2471d46166c08208c12307d20ef
URL:
https://github.com/llvm/llvm-project/commit/df3db035d60ca2471d46166c08208c12307d20ef
DIFF:
https://github.com/llvm/llvm-project/commit/df3db035d60ca2471d46166c08208c12307d20ef.diff
L
https://github.com/erichkeane closed
https://github.com/llvm/llvm-project/pull/74752
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Justin Bogner
Date: 2023-12-07T17:31:35-08:00
New Revision: c502a81b439b68cb029e16ca9d444d897b5e7727
URL:
https://github.com/llvm/llvm-project/commit/c502a81b439b68cb029e16ca9d444d897b5e7727
DIFF:
https://github.com/llvm/llvm-project/commit/c502a81b439b68cb029e16ca9d444d897b5e7727.diff
Jolyon0202 wrote:
This patch is used to adapt to many projects using gcc.
https://github.com/llvm/llvm-project/pull/73210
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Zixu Wang
Date: 2023-12-07T17:40:58-08:00
New Revision: 6e1f19168bca7e3bd4eefda50ba03eac8441dbbf
URL:
https://github.com/llvm/llvm-project/commit/6e1f19168bca7e3bd4eefda50ba03eac8441dbbf
DIFF:
https://github.com/llvm/llvm-project/commit/6e1f19168bca7e3bd4eefda50ba03eac8441dbbf.diff
LOG
https://github.com/zixu-w closed https://github.com/llvm/llvm-project/pull/74676
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/owenca created
https://github.com/llvm/llvm-project/pull/74794
None
>From fb239719267ec97905ebb339176b5f7015de04eb Mon Sep 17 00:00:00 2001
From: Owen Pan
Date: Thu, 7 Dec 2023 17:42:45 -0800
Subject: [PATCH] [clang-format][NFC] Clean up ClangFormat.cpp and getStyle()
in Fo
llvmbot wrote:
@llvm/pr-subscribers-clang-format
Author: Owen Pan (owenca)
Changes
---
Full diff: https://github.com/llvm/llvm-project/pull/74794.diff
2 Files Affected:
- (modified) clang/lib/Format/Format.cpp (+48-47)
- (modified) clang/tools/clang-format/ClangFormat.cpp (+17-23)
@@ -1,39 +1,45 @@
-; Do setup work for all below tests: generate bitcode and combined index
-; RUN: opt -module-summary %s -o %t.bc
-; RUN: opt -module-summary %p/Inputs/thinlto_indirect_call_promotion.ll -o
%t2.bc
+; The raw profiles and reduced IR inputs are generated from
Inp
https://github.com/benshi001 updated
https://github.com/llvm/llvm-project/pull/74296
>From 65ce18117f99056aafcf58151b64f4243f4d5e26 Mon Sep 17 00:00:00 2001
From: Ben Shi
Date: Mon, 4 Dec 2023 15:51:20 +0800
Subject: [PATCH 1/3] [clang][analyzer] Support `fflush` in the StreamChecker
---
.../
https://github.com/doru1004 created
https://github.com/llvm/llvm-project/pull/74797
Make sure arrays used in test are properly initialized.
>From 6712acd1175d1d6d55ce261651a543872a221c9a Mon Sep 17 00:00:00 2001
From: Doru Bercea
Date: Wed, 15 Nov 2023 11:07:09 -0500
Subject: [PATCH 1/2] Fix o
llvmbot wrote:
@llvm/pr-subscribers-clang
@llvm/pr-subscribers-clang-codegen
Author: Gheorghe-Teodor Bercea (doru1004)
Changes
Make sure arrays used in test are properly initialized.
---
Patch is 20.59 KiB, truncated to 20.00 KiB below, full version:
https://github.com/llvm/llvm-project
https://github.com/doru1004 closed
https://github.com/llvm/llvm-project/pull/74797
___
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 4162a9bca42a1152cdf4ae92ff7b90351c10f332
144d2ad42f5b8c9b89881d6238684cfd799a8270 --
https://github.com/W-50243 created
https://github.com/llvm/llvm-project/pull/74803
Add __builtin_exit in `clang/include/clang/Basic/Builtins.def` . It works
perfectly on arm64be and arm64le.
>From bcaaab24a927624669200113857fee842103d325 Mon Sep 17 00:00:00 2001
From: W-50243
Date: Thu, 7 Dec
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: None (W-50243)
Changes
Add __builtin_exit in `clang/include/clang/Basic/Builtins.def` . It works
perfectly on arm64be and arm64le.
---
Full diff: https://github.com/llvm/llvm-project/pull/74803.diff
2 Files Affected:
- (modified) clang
yxsamliu wrote:
It seems reasonable. You may consider adding test to
clang/test/Driver/autocomplete.c
https://github.com/llvm/llvm-project/pull/74770
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listin
https://github.com/jansvoboda11 updated
https://github.com/llvm/llvm-project/pull/74782
>From 6ab18edae7b86ca216848b7fcaff5e58fb3e186c Mon Sep 17 00:00:00 2001
From: Jan Svoboda
Date: Thu, 7 Dec 2023 15:15:16 -0800
Subject: [PATCH 1/2] [clang][lex] Fix non-portability diagnostics with
absolute
https://github.com/MaskRay created
https://github.com/llvm/llvm-project/pull/74809
https://reviews.llvm.org/D154014 addes glob support and enables it when
`#!special-case-list-v2` is the first line. This patch makes the glob
support the default (faster than regex after
https://reviews.llvm.org/D
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Fangrui Song (MaskRay)
Changes
https://reviews.llvm.org/D154014 addes glob support and enables it when
`#!special-case-list-v2` is the first line. This patch makes the glob
support the default (faster than regex after
https://reviews.llvm.o
https://github.com/W-50243 updated
https://github.com/llvm/llvm-project/pull/74803
>From bcaaab24a927624669200113857fee842103d325 Mon Sep 17 00:00:00 2001
From: W-50243
Date: Thu, 7 Dec 2023 19:42:29 +0800
Subject: [PATCH 1/2] [Clang][Builtin] add __builtin_exit
---
clang/include/clang/Basic/
https://github.com/jansvoboda11 updated
https://github.com/llvm/llvm-project/pull/74782
>From 6ab18edae7b86ca216848b7fcaff5e58fb3e186c Mon Sep 17 00:00:00 2001
From: Jan Svoboda
Date: Thu, 7 Dec 2023 15:15:16 -0800
Subject: [PATCH 1/3] [clang][lex] Fix non-portability diagnostics with
absolute
https://github.com/hstk30-hw created
https://github.com/llvm/llvm-project/pull/74812
This adds support under ARM for the target("..") attributes like AArch64
https://reviews.llvm.org/D133848 . And warning for bad typo for "arch=".
>From 8a84eaf11bb76aba7db5243390f246d40b3f9630 Mon Sep 17 00:0
llvmbot wrote:
@llvm/pr-subscribers-backend-arm
Author: None (hstk30-hw)
Changes
This adds support under ARM for the target("..") attributes like AArch64
https://reviews.llvm.org/D133848 . And warning for bad typo for "arch=".
---
Full diff: https://github.com/llvm/llvm-project/pull/748
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 28a78e2a4a2c358900aaac1a1eb9efce17a7f5a5
8a84eaf11bb76aba7db5243390f246d40b3f9630 --
https://github.com/hstk30-hw updated
https://github.com/llvm/llvm-project/pull/74812
>From 3e4b7b9da50d742b7bfafa04cdf0c3a64d0d1b9e Mon Sep 17 00:00:00 2001
From: hstk30-hw
Date: Fri, 8 Dec 2023 14:29:33 +0800
Subject: [PATCH] feat: support arm target attribute, and warning for bad typo
---
c
david-xl wrote:
> > > > > > David says the itanium remapper file was only used once during gcc
> > > > > > to llvm transition, so not relevant here.
> > > > >
> > > > >
> > > > > I believe it was actually for the libstdc++ to libc++ transition (see
> > > > > https://reviews.llvm.org/D51247 an
https://github.com/jcsxky created
https://github.com/llvm/llvm-project/pull/74813
This patch aims to fix the
[crash](https://github.com/llvm/llvm-project/issues/74774)
>From 49ec0838ecef753d86562ce4c12b3d84000a859e Mon Sep 17 00:00:00 2001
From: huqizhi
Date: Fri, 8 Dec 2023 15:26:01 +0800
Su
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Qizhi Hu (jcsxky)
Changes
This patch aims to fix the
[crash](https://github.com/llvm/llvm-project/issues/74774)
---
Full diff: https://github.com/llvm/llvm-project/pull/74813.diff
2 Files Affected:
- (modified) clang/lib/AST/ASTImporte
https://github.com/jcsxky updated
https://github.com/llvm/llvm-project/pull/74813
>From 0cab02331a5f1eb85649ab381d73ddb71d354b5b 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
https://github.com/karka228 updated
https://github.com/llvm/llvm-project/pull/74440
>From a80bf9d03f19d48c0aca4af7758dc49516da8825 Mon Sep 17 00:00:00 2001
From: Karl-Johan Karlsson
Date: Tue, 5 Dec 2023 10:03:00 +0100
Subject: [PATCH 1/3] [Sema] Implement support for -Wformat-signedness
In gc
minglotus-6 wrote:
done. Sorry about leaving debugging-only stuff in a commit.
https://github.com/llvm/llvm-project/pull/74008
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mai
@@ -1,39 +1,45 @@
-; Do setup work for all below tests: generate bitcode and combined index
-; RUN: opt -module-summary %s -o %t.bc
-; RUN: opt -module-summary %p/Inputs/thinlto_indirect_call_promotion.ll -o
%t2.bc
+; The raw profiles and reduced IR inputs are generated from
Inp
@@ -1,39 +1,45 @@
-; Do setup work for all below tests: generate bitcode and combined index
-; RUN: opt -module-summary %s -o %t.bc
-; RUN: opt -module-summary %p/Inputs/thinlto_indirect_call_promotion.ll -o
%t2.bc
+; The raw profiles and reduced IR inputs are generated from
Inp
https://github.com/jeevanghimire created
https://github.com/llvm/llvm-project/pull/74814
removing using namespace std;
and assigning the fully qualified name for better naming in codebase
>From c137cd0ba81f82dbca2feb01bb8d088e42f0c524 Mon Sep 17 00:00:00 2001
From: Jeevan Ghimire
Date: Fri,
llvmbot wrote:
@llvm/pr-subscribers-clang
@llvm/pr-subscribers-lldb
Author: Jeevan Ghimire (jeevanghimire)
Changes
removing using namespace std;
and assigning the fully qualified name for better naming in codebase
---
Full diff: https://github.com/llvm/llvm-project/pull/74814.diff
2 F
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 58bdef2be75263a9b6bf93faf3baccc76e31e082
c137cd0ba81f82dbca2feb01bb8d088e42f0c524 --
301 - 363 of 363 matches
Mail list logo