[clang] [Clang] Introduce 'clang-nvlink-wrapper' to work around 'nvlink' (PR #96561)

2024-07-23 Thread Fangrui Song via cfe-commits
@@ -0,0 +1,781 @@ +//===-- clang-nvlink-wrapper/ClangNVLinkWrapper.cpp - NVIDIA linker util --===// +// +// 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

[clang-tools-extra] clang-tidy: readability-redundant-smartptr-get does not remove (#97964) (PR #100177)

2024-07-23 Thread Piotr Zegar via cfe-commits
https://github.com/PiotrZSL commented: Except release notes, looks fine. https://github.com/llvm/llvm-project/pull/100177 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] clang-tidy: readability-redundant-smartptr-get does not remove (#97964) (PR #100177)

2024-07-23 Thread Piotr Zegar via cfe-commits
https://github.com/PiotrZSL edited https://github.com/llvm/llvm-project/pull/100177 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] clang-tidy: readability-redundant-smartptr-get does not remove (#97964) (PR #100177)

2024-07-23 Thread Piotr Zegar via cfe-commits
@@ -498,6 +498,10 @@ Changes in existing checks false-positives when type of the member does not match the type of the initializer. +- Improved :doc:`readability-redundant-smartptr-get PiotrZSL wrote: you may need to rebase, as release notes has been clea

[clang] [Clang] Add 'CLANG_ALLOW_IMPLICIT_RPATH' to enable toolchain use of -rpath (PR #82004)

2024-07-23 Thread via cfe-commits
h-vetinari wrote: What's the context for closing this? https://github.com/llvm/llvm-project/pull/82004 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [Hashing] Use a non-deterministic seed if LLVM_ENABLE_ABI_BREAKING_CHECKS (PR #96282)

2024-07-23 Thread via cfe-commits
quic-seaswara wrote: Aren't hashes supposed to be deterministic ? Can we add a override for builds with asserts turned ON to favor determinism ? Could have an API to set the determinism flag ? This also has an effect on Build ID computation ? https://github.com/llvm/llvm-project/pull/9628

[clang] [clang][FMV][AArch64] Improve streaming mode compatibility. (PR #100181)

2024-07-23 Thread Alexandros Lamprineas via cfe-commits
https://github.com/labrinea created https://github.com/llvm/llvm-project/pull/100181 * Allow arm-streaming if all the functions versions adhere to it. * Allow arm-streaming-compatible if all the functions versions adhere to it. * Allow arm-locally-streaming regardless of the other functions vers

[clang] [clang][FMV][AArch64] Improve streaming mode compatibility. (PR #100181)

2024-07-23 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Alexandros Lamprineas (labrinea) Changes * Allow arm-streaming if all the functions versions adhere to it. * Allow arm-streaming-compatible if all the functions versions adhere to it. * Allow arm-locally-streaming regardless of the other fu

[clang] [LinkerWrapper] Pass all files to the device linker (PR #97573)

2024-07-23 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `premerge-monolithic-linux` running on `premerge-linux-1` while building `clang` at step 7 "test-build-unified-tree-check-all". Full details are available at: https://lab.llvm.org/buildbot/#/builders/153/builds/3960 Here is t

[clang] Add _MM_FROUND_TO_NEAREST_TIES_EVEN to avx512fintrin.h (PR #99691)

2024-07-23 Thread Robin Charles Gilbert via cfe-commits
robincharlesgilbert wrote: Former dev for the math libraries of the Intel compiler here. It is true that the name _MM_FROUND_TO_NEAREST_INT is quite old. For instance (since I see an Intel document quoted here for which I may or may not have been one of the authors, and that "all common compil

[clang] [compiler-rt] [llvm] [clang][llvm][rtsan] Introduce RealtimeSanitizer clang codegen, llvm attributes (PR #100120)

2024-07-23 Thread via cfe-commits
davidtrevelyan wrote: > Can we split into 3 patches? > > 1. LLVM > 2. Clang > 3. Compiler-rt > > And each patch should have tests Thanks for the suggestion @vitalybuka - after some thought, we think we can remove the llvm changes entirely now, and so here's our plan: 1. close this PR soon (g

[clang] [clang-format] Improve BlockIndent at ColumnLimit (PR #93140)

2024-07-23 Thread Gedare Bloom via cfe-commits
https://github.com/gedare updated https://github.com/llvm/llvm-project/pull/93140 >From 09bd1f04730f0accad7ce041b0121f716cc7a18d Mon Sep 17 00:00:00 2001 From: Gedare Bloom Date: Tue, 21 May 2024 22:21:59 -0600 Subject: [PATCH 01/11] [clang-format] Improve BlockIndent at ColumnLimit Fixes #557

[clang] [Clang] Add 'CLANG_ALLOW_IMPLICIT_RPATH' to enable toolchain use of -rpath (PR #82004)

2024-07-23 Thread Joseph Huber via cfe-commits
jhuber6 wrote: > What's the context for closing this? Community did not want a new CMake config option and I wasn't planning on moving forward with this, so I closed it to clean up my list of open PRs. https://github.com/llvm/llvm-project/pull/82004

[clang] [Clang] Introduce 'clang-nvlink-wrapper' to work around 'nvlink' (PR #96561)

2024-07-23 Thread Joseph Huber via cfe-commits
@@ -0,0 +1,781 @@ +//===-- clang-nvlink-wrapper/ClangNVLinkWrapper.cpp - NVIDIA linker util --===// +// +// 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

[clang] [Clang] Introduce 'clang-nvlink-wrapper' to work around 'nvlink' (PR #96561)

2024-07-23 Thread Joseph Huber via cfe-commits
jhuber6 wrote: > Why do we need a new binary for this, instead of having something like `clang > -cc1_nvlink` that calls a custom mode within clang? > > And if there's a good reason for that, could clang-linker-wrapper and > clang-nvlink-wrapper at least be the same binary? Sorry, missed this

[clang-tools-extra] clang-tidy: readability-redundant-smartptr-get does not remove (#97964) (PR #100177)

2024-07-23 Thread via cfe-commits
@@ -498,6 +498,10 @@ Changes in existing checks false-positives when type of the member does not match the type of the initializer. +- Improved :doc:`readability-redundant-smartptr-get akshaykumars614 wrote: will deleting the old branch work? https://git

[clang-tools-extra] [libc] clang-tidy: readability-redundant-smartptr-get does not remove -> (#97964) (PR #98757)

2024-07-23 Thread via cfe-commits
https://github.com/akshaykumars614 closed https://github.com/llvm/llvm-project/pull/98757 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] clang-tidy: readability-redundant-smartptr-get does not remove (#97964) (PR #100177)

2024-07-23 Thread via cfe-commits
https://github.com/akshaykumars614 deleted https://github.com/llvm/llvm-project/pull/100177 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Correctly forward `--cuda-path` to the nvlink wrapper (PR #100170)

2024-07-23 Thread Joseph Huber via cfe-commits
https://github.com/jhuber6 updated https://github.com/llvm/llvm-project/pull/100170 >From 69878cc8a39b483a646fb142b418952e34693241 Mon Sep 17 00:00:00 2001 From: Joseph Huber Date: Tue, 23 Jul 2024 12:37:12 -0500 Subject: [PATCH] [Clang] Correctly forward `--cuda-path` to the nvlink wrapper Su

[clang] 7e1fcf5 - [Clang] Correctly forward `--cuda-path` to the nvlink wrapper (#100170)

2024-07-23 Thread via cfe-commits
Author: Joseph Huber Date: 2024-07-23T14:41:57-05:00 New Revision: 7e1fcf5dd657d465c3fc846f56c6f9d3a4560b43 URL: https://github.com/llvm/llvm-project/commit/7e1fcf5dd657d465c3fc846f56c6f9d3a4560b43 DIFF: https://github.com/llvm/llvm-project/commit/7e1fcf5dd657d465c3fc846f56c6f9d3a4560b43.diff

[clang] [Clang] Correctly forward `--cuda-path` to the nvlink wrapper (PR #100170)

2024-07-23 Thread Joseph Huber via cfe-commits
https://github.com/jhuber6 closed https://github.com/llvm/llvm-project/pull/100170 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] clang-tidy: readability-redundant-smartptr-get does not remove (#97964) (PR #100177)

2024-07-23 Thread via cfe-commits
https://github.com/akshaykumars614 updated https://github.com/llvm/llvm-project/pull/100177 >From 642e558be0a1362f2b5cc4180dab7729f0ba8528 Mon Sep 17 00:00:00 2001 From: akshaykumars614 Date: Tue, 23 Jul 2024 14:32:24 -0400 Subject: [PATCH 1/2] clang-tidy: readability-redundant-smartptr-get doe

[clang-tools-extra] clang-tidy: readability-redundant-smartptr-get does not remove (#97964) (PR #100177)

2024-07-23 Thread via cfe-commits
@@ -498,6 +498,10 @@ Changes in existing checks false-positives when type of the member does not match the type of the initializer. +- Improved :doc:`readability-redundant-smartptr-get akshaykumars614 wrote: I cannot see those markers in my local branch

[clang] [Clang] Correctly forward `--cuda-path` to the nvlink wrapper (PR #100170)

2024-07-23 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-sie-ubuntu-fast` running on `sie-linux-worker` while building `clang` at step 6 "test-build-unified-tree-check-all". Full details are available at: https://lab.llvm.org/buildbot/#/builders/144/builds/3063 H

[clang-tools-extra] clang-tidy: readability-redundant-smartptr-get does not remove (#97964) (PR #100177)

2024-07-23 Thread via cfe-commits
https://github.com/akshaykumars614 updated https://github.com/llvm/llvm-project/pull/100177 >From 642e558be0a1362f2b5cc4180dab7729f0ba8528 Mon Sep 17 00:00:00 2001 From: akshaykumars614 Date: Tue, 23 Jul 2024 14:32:24 -0400 Subject: [PATCH 1/2] clang-tidy: readability-redundant-smartptr-get doe

[clang] [Clang] Correctly forward `--cuda-path` to the nvlink wrapper (PR #100170)

2024-07-23 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `openmp-offload-sles-build-only` running on `rocm-worker-hw-04-sles` while building `clang` at step 6 "Add check check-clang". Full details are available at: https://lab.llvm.org/buildbot/#/builders/140/builds/2835 Here is th

[clang] [Clang] Correctly forward `--cuda-path` to the nvlink wrapper (PR #100170)

2024-07-23 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `arc-builder` running on `arc-worker` while building `clang` at step 6 "test-build-unified-tree-check-all". Full details are available at: https://lab.llvm.org/buildbot/#/builders/3/builds/1967 Here is the relevant piece of t

[clang-tools-extra] clang-tidy: readability-redundant-smartptr-get does not remove (#97964) (PR #100177)

2024-07-23 Thread via cfe-commits
https://github.com/akshaykumars614 deleted https://github.com/llvm/llvm-project/pull/100177 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 7d388ae - Revert "[Clang] Correctly forward `--cuda-path` to the nvlink wrapper (#100170)"

2024-07-23 Thread Joseph Huber via cfe-commits
Author: Joseph Huber Date: 2024-07-23T14:51:40-05:00 New Revision: 7d388aeabb34cd954aa57e4321ad3aa9f382c557 URL: https://github.com/llvm/llvm-project/commit/7d388aeabb34cd954aa57e4321ad3aa9f382c557 DIFF: https://github.com/llvm/llvm-project/commit/7d388aeabb34cd954aa57e4321ad3aa9f382c557.diff

[clang] adbe247 - Reapply "[Clang] Correctly forward `--cuda-path` to the nvlink wrapper (#100170)"

2024-07-23 Thread Joseph Huber via cfe-commits
Author: Joseph Huber Date: 2024-07-23T14:52:30-05:00 New Revision: adbe247701826014c608bb0a3289de70ca60889e URL: https://github.com/llvm/llvm-project/commit/adbe247701826014c608bb0a3289de70ca60889e DIFF: https://github.com/llvm/llvm-project/commit/adbe247701826014c608bb0a3289de70ca60889e.diff

[clang] [Clang] Correctly forward `--cuda-path` to the nvlink wrapper (PR #100170)

2024-07-23 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `openmp-offload-libc-amdgpu-runtime` running on `omp-vega20-1` while building `clang` at step 7 "Add check check-clang". Full details are available at: https://lab.llvm.org/buildbot/#/builders/73/builds/2480 Here is the relev

[clang] [Clang] Correctly forward `--cuda-path` to the nvlink wrapper (PR #100170)

2024-07-23 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `llvm-clang-aarch64-darwin` running on `doug-worker-4` while building `clang` at step 6 "test-build-unified-tree-check-all". Full details are available at: https://lab.llvm.org/buildbot/#/builders/190/builds/2494 Here is the

[clang] [llvm] [PowerPC] Add builtin_cpu_is P11 support (PR #99550)

2024-07-23 Thread David Tenty via cfe-commits
daltenty wrote: /cherry-pick 63b382b https://github.com/llvm/llvm-project/pull/99550 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Correctly forward `--cuda-path` to the nvlink wrapper (PR #100170)

2024-07-23 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-sie-win` running on `sie-win-worker` while building `clang` at step 7 "test-build-unified-tree-check-all". Full details are available at: https://lab.llvm.org/buildbot/#/builders/46/builds/2164 Here is the

[clang] [Clang] Correctly forward `--cuda-path` to the nvlink wrapper (PR #100170)

2024-07-23 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `clang-cmake-x86_64-avx512-linux` running on `avx512-intel64` while building `clang` at step 7 "ninja check 1". Full details are available at: https://lab.llvm.org/buildbot/#/builders/133/builds/2095 Here is the relevant piec

[clang] [Clang] Correctly forward `--cuda-path` to the nvlink wrapper (PR #100170)

2024-07-23 Thread LLVM Continuous Integration via cfe-commits
llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-gcc-ubuntu` running on `sie-linux-worker3` while building `clang` at step 6 "test-build-unified-tree-check-all". Full details are available at: https://lab.llvm.org/buildbot/#/builders/174/builds/2211 Here

[clang] d19e71d - [clang/Lex/DependencyDirectivesScanner] Ignore import/include directives with missing filenames without failing the scan (#100126)

2024-07-23 Thread via cfe-commits
Author: Argyrios Kyrtzidis Date: 2024-07-23T12:59:59-07:00 New Revision: d19e71db8a3de65de5da5d5bc4e1f9c1020c574c URL: https://github.com/llvm/llvm-project/commit/d19e71db8a3de65de5da5d5bc4e1f9c1020c574c DIFF: https://github.com/llvm/llvm-project/commit/d19e71db8a3de65de5da5d5bc4e1f9c1020c574c.

[clang] [clang/Lex/DependencyDirectivesScanner] Ignore import/include directives with missing filenames without failing the scan (PR #100126)

2024-07-23 Thread Argyrios Kyrtzidis via cfe-commits
https://github.com/akyrtzi closed https://github.com/llvm/llvm-project/pull/100126 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [PowerPC] Add builtin_cpu_is P11 support (PR #99550)

2024-07-23 Thread via cfe-commits
llvmbot wrote: >/cherry-pick 63b382b Error: Command failed due to missing milestone. https://github.com/llvm/llvm-project/pull/99550 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [PS4/PS5][Driver][DWARF] Always emit .debug_aranges for SCE tuning (PR #100160)

2024-07-23 Thread Edd Dawson via cfe-commits
https://github.com/playstation-edd updated https://github.com/llvm/llvm-project/pull/100160 >From 3a336780b4c3596863294afc47969967dac5f9bb Mon Sep 17 00:00:00 2001 From: Edd Dawson Date: Fri, 19 Jul 2024 17:52:00 +0100 Subject: [PATCH 1/4] [PS4/PS5][Driver][DWARF] Always emit .debug_aranges for

[clang] 92a9d48 - [clang][headers] Including stddef.h always redefines NULL (#99727)

2024-07-23 Thread via cfe-commits
Author: Ian Anderson Date: 2024-07-23T13:02:59-07:00 New Revision: 92a9d4831d5e40c286247c30fcd794563adbef6e URL: https://github.com/llvm/llvm-project/commit/92a9d4831d5e40c286247c30fcd794563adbef6e DIFF: https://github.com/llvm/llvm-project/commit/92a9d4831d5e40c286247c30fcd794563adbef6e.diff

[clang] [clang][headers] Including stddef.h always redefines NULL (PR #99727)

2024-07-23 Thread Ian Anderson via cfe-commits
https://github.com/ian-twilightcoder closed https://github.com/llvm/llvm-project/pull/99727 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [PS4/PS5][Driver][DWARF] Always emit .debug_aranges for SCE tuning (PR #100160)

2024-07-23 Thread Edd Dawson via cfe-commits
@@ -0,0 +1,33 @@ +; This checks that .debug_aranges is always generated for the SCE debugger playstation-edd wrote: Done! https://github.com/llvm/llvm-project/pull/100160 ___ cfe-commits mailing list cfe-commits@lists.

[clang] [clang][headers] Including stddef.h always redefines NULL (PR #99727)

2024-07-23 Thread Ian Anderson via cfe-commits
ian-twilightcoder wrote: /cherry-pick 92a9d4831d5e40c286247c30fcd794563adbef6e https://github.com/llvm/llvm-project/pull/99727 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Remove FiniteMathOnly and use only NoHonorINFs and NoHonorNANs. (PR #97342)

2024-07-23 Thread Zahira Ammarguellat via cfe-commits
https://github.com/zahiraam edited https://github.com/llvm/llvm-project/pull/97342 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][headers] Including stddef.h always redefines NULL (PR #99727)

2024-07-23 Thread Ian Anderson via cfe-commits
ian-twilightcoder wrote: > @ian-twilightcoder Cherry-picking is easy. Once this is merged, follow the > guidelines here to get it cherry-picked: > https://llvm.org/docs/GitHub.html#backporting-fixes-to-the-release-branches > > Basically you only need to add a comment to this PR like `/cherry-p

[clang] Remove FiniteMathOnly and use only NoHonorINFs and NoHonorNANs. (PR #97342)

2024-07-23 Thread Zahira Ammarguellat via cfe-commits
@@ -816,6 +816,11 @@ class FPOptions { setAllowFPReassociate(LO.AllowFPReassoc); setNoHonorNaNs(LO.NoHonorNaNs); setNoHonorInfs(LO.NoHonorInfs); +// Ensure that if FiniteMathOnly is enabled, NoHonorNaNs and NoHonorInfs are +// also enabled. This is because

[clang] [clang] Update argument checking tablegen code to use a 'full' name (PR #99993)

2024-07-23 Thread Mike Rice via cfe-commits
mikerice1969 wrote: > Does this impact anything user-facing? e.g., should there be an additional > test somewhere in clang/test/Sema/ for this change? I don't think there is any user-visible issue with the one attribute that uses this. At least how the Parse code is written currently. The attr

[clang] [clang][headers] Including stddef.h always redefines NULL (PR #99727)

2024-07-23 Thread via cfe-commits
llvmbot wrote: /pull-request llvm/llvm-project#100191 https://github.com/llvm/llvm-project/pull/99727 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][rtsan] Introduce realtime sanitizer clang codegen and -fsanitize flag (PR #100192)

2024-07-23 Thread Chris Apple via cfe-commits
https://github.com/cjappl created https://github.com/llvm/llvm-project/pull/100192 Inserts the `__rtsan_realtime_enter` at the first line of all functions with [[clang::nonblocking]] function effects, and `__rtsan_realtime_exit` at all exit points. Introduces the -fsanitize=realtime flag, and

[clang] [clang][rtsan] Introduce realtime sanitizer clang codegen and -fsanitize flag (PR #100192)

2024-07-23 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-driver Author: Chris Apple (cjappl) Changes Inserts the `__rtsan_realtime_enter` at the first line of all functions with [[clang::nonblocking]] function effects, and `__rtsan_realtime_exit` at all exit points. Introduces the -fsanitize=realtime

[clang] [clang][rtsan] Introduce realtime sanitizer clang codegen and -fsanitize flag (PR #100192)

2024-07-23 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang-codegen Author: Chris Apple (cjappl) Changes Inserts the `__rtsan_realtime_enter` at the first line of all functions with [[clang::nonblocking]] function effects, and `__rtsan_realtime_exit` at all exit points. Introduces the -fsanitize=realtime

[clang] [clang][rtsan] Introduce realtime sanitizer clang codegen and -fsanitize flag (PR #100192)

2024-07-23 Thread Chris Apple via cfe-commits
cjappl wrote: CC for review @MaskRay @vitalybuka @AaronBallman @Sirraide @rjmccall @erichkeane @davidtrevelyan @dougsonos https://github.com/llvm/llvm-project/pull/100192 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/

[clang] [clang][headers] Including stddef.h always redefines NULL (PR #99727)

2024-07-23 Thread via cfe-commits
llvmbot wrote: Failed to cherry-pick: COMMIT-SHA` https://github.com/llvm/llvm-project/actions/runs/10065620100 Please manually backport the fix and push it to your github fork. Once this is done, please create a [pull request](https://github.com/llvm/llvm-project/compare) https://github.c

[clang] [compiler-rt] [llvm] [clang][llvm][rtsan] Introduce RealtimeSanitizer clang codegen, llvm attributes (PR #100120)

2024-07-23 Thread Chris Apple via cfe-commits
https://github.com/cjappl closed https://github.com/llvm/llvm-project/pull/100120 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [compiler-rt] [llvm] [clang][llvm][rtsan] Introduce RealtimeSanitizer clang codegen, llvm attributes (PR #100120)

2024-07-23 Thread Chris Apple via cfe-commits
cjappl wrote: Closing in favor of these two reviews to begin with, a 3rd will be added with the lit test components after these are merged: 1. Fixing unit test intermittent failure on mac: https://github.com/llvm/llvm-project/pull/100188 2. clang codegen component https://github.com/llvm/llvm-

[clang] cb0ead7 - [Clang] Add back in REQUIRES lines that were accidentally removed

2024-07-23 Thread Joseph Huber via cfe-commits
Author: Joseph Huber Date: 2024-07-23T15:12:03-05:00 New Revision: cb0ead7888e5e1067dde10213ffb340cbd7419dc URL: https://github.com/llvm/llvm-project/commit/cb0ead7888e5e1067dde10213ffb340cbd7419dc DIFF: https://github.com/llvm/llvm-project/commit/cb0ead7888e5e1067dde10213ffb340cbd7419dc.diff

[clang] [llvm] [PowerPC] Add builtin_cpu_is P11 support (PR #99550)

2024-07-23 Thread via cfe-commits
azhan92 wrote: /cherry-pick https://github.com/llvm/llvm-project/commit/63b382bbde5994e8f2cec75883320e3ad9fd618f https://github.com/llvm/llvm-project/pull/99550 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mai

[clang] [llvm] [PowerPC] Add builtin_cpu_is P11 support (PR #99550)

2024-07-23 Thread via cfe-commits
azhan92 wrote: /cherry-pick https://github.com/llvm/llvm-project/commit/63b382bbde5994e8f2cec75883320e3ad9fd618f https://github.com/llvm/llvm-project/pull/99550 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mai

[clang] [llvm] [PowerPC] Add builtin_cpu_is P11 support (PR #99550)

2024-07-23 Thread via cfe-commits
llvmbot wrote: >/cherry-pick >https://github.com/llvm/llvm-project/commit/63b382bbde5994e8f2cec75883320e3ad9fd618f Error: Command failed due to missing milestone. https://github.com/llvm/llvm-project/pull/99550 ___ cfe-commits mailing list cfe-commi

[clang] [llvm] [PowerPC] Add builtin_cpu_is P11 support (PR #99550)

2024-07-23 Thread via cfe-commits
llvmbot wrote: >/cherry-pick >https://github.com/llvm/llvm-project/commit/63b382bbde5994e8f2cec75883320e3ad9fd618f Error: Command failed due to missing milestone. https://github.com/llvm/llvm-project/pull/99550 ___ cfe-commits mailing list cfe-commi

[clang] [Clang] Make the GPU toolchains implicitly link `-lm` and `-lc` (PR #98170)

2024-07-23 Thread Joseph Huber via cfe-commits
https://github.com/jhuber6 updated https://github.com/llvm/llvm-project/pull/98170 >From 6ffbe94071a1b99e289f806aa145aaa871793b2a Mon Sep 17 00:00:00 2001 From: Joseph Huber Date: Tue, 9 Jul 2024 10:15:35 -0500 Subject: [PATCH 1/2] [Clang] Make the GPU toolchains implicitly link `-lm` and `-lc

[clang] Fix lifetimebound for field access (PR #100197)

2024-07-23 Thread Utkarsh Saxena via cfe-commits
https://github.com/usx95 created https://github.com/llvm/llvm-project/pull/100197 Fixes: https://github.com/llvm/llvm-project/issues/81589 >From b76d65484c3195f27e8d01208ccc6e6f8ab55273 Mon Sep 17 00:00:00 2001 From: Utkarsh Saxena Date: Tue, 23 Jul 2024 19:41:44 + Subject: [PATCH] Fix lif

[clang] Fix lifetimebound for field access (PR #100197)

2024-07-23 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Utkarsh Saxena (usx95) Changes Fixes: https://github.com/llvm/llvm-project/issues/81589 --- Full diff: https://github.com/llvm/llvm-project/pull/100197.diff 2 Files Affected: - (modified) clang/lib/Sema/CheckExprLifetime.cpp (+8) - (mo

[clang] [clang][rtsan] Introduce realtime sanitizer clang codegen and -fsanitize flag (PR #100192)

2024-07-23 Thread Vitaly Buka via cfe-commits
@@ -1410,6 +1414,35 @@ QualType CodeGenFunction::BuildFunctionArgList(GlobalDecl GD, return ResTy; } +void InsertCallBeforeInstruction(llvm::Function *Fn, vitalybuka wrote: Also maybe I missed some dissussion these changes looks like better be done by llvm

[clang] [clang][rtsan] Introduce realtime sanitizer clang codegen and -fsanitize flag (PR #100192)

2024-07-23 Thread Vitaly Buka via cfe-commits
https://github.com/vitalybuka edited https://github.com/llvm/llvm-project/pull/100192 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Fix lifetimebound for field access (PR #100197)

2024-07-23 Thread Utkarsh Saxena via cfe-commits
https://github.com/usx95 edited https://github.com/llvm/llvm-project/pull/100197 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][rtsan] Introduce realtime sanitizer clang codegen and -fsanitize flag (PR #100192)

2024-07-23 Thread Vitaly Buka via cfe-commits
https://github.com/vitalybuka edited https://github.com/llvm/llvm-project/pull/100192 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [PAC] Define __builtin_ptrauth_type_discriminator (PR #100204)

2024-07-23 Thread Akira Hatanaka via cfe-commits
https://github.com/ahatanak created https://github.com/llvm/llvm-project/pull/100204 The builtin computes the discriminator for a type, which can be used to sign/authenticate function pointers and member function pointers. If the type passed to the builtin is a C++ member function pointer type

[clang] [PAC] Define __builtin_ptrauth_type_discriminator (PR #100204)

2024-07-23 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Akira Hatanaka (ahatanak) Changes The builtin computes the discriminator for a type, which can be used to sign/authenticate function pointers and member function pointers. If the type passed to the builtin is a C++ member function pointer

[clang] [llvm] [PowerPC] Add builtin_cpu_is P11 support (PR #99550)

2024-07-23 Thread Jake Egan via cfe-commits
https://github.com/jakeegan milestoned https://github.com/llvm/llvm-project/pull/99550 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [PAC] Define __builtin_ptrauth_type_discriminator (PR #100204)

2024-07-23 Thread Vlad Serebrennikov via cfe-commits
https://github.com/Endilll commented: `Sema.h` changes look good. https://github.com/llvm/llvm-project/pull/100204 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [Pipelines] Do not run CoroSplit and CoroCleanup in LTO pre-link pipeline (PR #100205)

2024-07-23 Thread Wei Wang via cfe-commits
https://github.com/apolloww created https://github.com/llvm/llvm-project/pull/100205 This is re-land of #90310 after making asan skip pre-split coroutines in #99415. Skip CoroSplit and CoroCleanup in LTO pre-link pipeline so that CoroElide can happen after callee coroutine is imported into cal

[clang] [PAC][clang][test] Implement missing tests for some PAuth features (PR #100206)

2024-07-23 Thread Daniil Kovalev via cfe-commits
https://github.com/kovdan01 created https://github.com/llvm/llvm-project/pull/100206 Implement tests for the following PAuth-related features: - driver, preprocessor and ELF codegen tests for type_info vtable pointer discrimination #99726; - driver, preprocessor, and ELF codegen (emitting fun

[clang] [Modules] Don't search for modulemaps in the immediate sub-directories of search paths for recent Apple SDKs. (PR #100005)

2024-07-23 Thread Volodymyr Sapsai via cfe-commits
vsapsai wrote: Failed test is "Profile-x86_64 :: check-same-common-code.test", the same as failed in #100011 for unrelated reasons. https://github.com/llvm/llvm-project/pull/15 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.

[clang] [llvm] [Pipelines] Do not run CoroSplit and CoroCleanup in LTO pre-link pipeline (PR #100205)

2024-07-23 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-coroutines @llvm/pr-subscribers-clang Author: Wei Wang (apolloww) Changes This is re-land of #90310 after making asan skip pre-split coroutines in #99415. Skip CoroSplit and CoroCleanup in LTO pre-link pipeline so that CoroElide can happen after calle

[clang] [clang][rtsan] Introduce realtime sanitizer clang codegen and -fsanitize flag (PR #100192)

2024-07-23 Thread Fangrui Song via cfe-commits
@@ -1410,6 +1414,35 @@ QualType CodeGenFunction::BuildFunctionArgList(GlobalDecl GD, return ResTy; } +void InsertCallBeforeInstruction(llvm::Function *Fn, MaskRay wrote: Code style wise: https://llvm.org/docs/CodingStandards.html#anonymous-namespaces Use

[clang] [PAC][clang][test] Implement missing tests for some PAuth features (PR #100206)

2024-07-23 Thread Daniil Kovalev via cfe-commits
kovdan01 wrote: Also tagging @ojhunt https://github.com/llvm/llvm-project/pull/100206 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [PAC][clang][test] Implement missing tests for some PAuth features (PR #100206)

2024-07-23 Thread Daniil Kovalev via cfe-commits
https://github.com/kovdan01 ready_for_review https://github.com/llvm/llvm-project/pull/100206 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [PAC][clang][test] Implement missing tests for some PAuth features (PR #100206)

2024-07-23 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Daniil Kovalev (kovdan01) Changes Implement tests for the following PAuth-related features: - driver, preprocessor and ELF codegen tests for type_info vtable pointer discrimination #99726; - driver, preprocessor, and ELF codegen (emittin

[clang] [llvm] [PowerPC] Add builtin_cpu_is P11 support (PR #99550)

2024-07-23 Thread via cfe-commits
azhan92 wrote: /cherry-pick https://github.com/llvm/llvm-project/commit/63b382bbde5994e8f2cec75883320e3ad9fd618f https://github.com/llvm/llvm-project/pull/99550 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mai

[clang] [llvm] [Pipelines] Do not run CoroSplit and CoroCleanup in LTO pre-link pipeline (PR #100205)

2024-07-23 Thread Wei Wang via cfe-commits
apolloww wrote: @vitalybuka I am landing the pipeline change again. Please let me know if you see issues again later. https://github.com/llvm/llvm-project/pull/100205 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-

[clang] cbd5ba2 - [Modules] Don't search for modulemaps in the immediate sub-directories of search paths for recent Apple SDKs. (#100005)

2024-07-23 Thread via cfe-commits
Author: Volodymyr Sapsai Date: 2024-07-23T13:59:44-07:00 New Revision: cbd5ba20d1faf88dbfc9aa491d8def1920500a32 URL: https://github.com/llvm/llvm-project/commit/cbd5ba20d1faf88dbfc9aa491d8def1920500a32 DIFF: https://github.com/llvm/llvm-project/commit/cbd5ba20d1faf88dbfc9aa491d8def1920500a32.di

[clang] [Modules] Don't search for modulemaps in the immediate sub-directories of search paths for recent Apple SDKs. (PR #100005)

2024-07-23 Thread Volodymyr Sapsai via cfe-commits
https://github.com/vsapsai closed https://github.com/llvm/llvm-project/pull/15 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [PowerPC] Add builtin_cpu_is P11 support (PR #99550)

2024-07-23 Thread via cfe-commits
llvmbot wrote: /pull-request llvm/llvm-project#100207 https://github.com/llvm/llvm-project/pull/99550 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [OpenMPIRBuilder][Clang][NFC] - Combine `emitOffloadingArrays` and `emitOffloadingArraysArgument` in OpenMPIRBuilder (PR #97088)

2024-07-23 Thread Pranav Bhandarkar via cfe-commits
https://github.com/bhandarkar-pranav updated https://github.com/llvm/llvm-project/pull/97088 >From ad6ef960b14c23bde1460a0977b6401dc21dfea4 Mon Sep 17 00:00:00 2001 From: Pranav Bhandarkar Date: Sat, 15 Jun 2024 02:00:48 -0500 Subject: [PATCH 01/13] checkpoint commit. Use emitOffloadinArrays fr

[clang] [llvm] [Pipelines] Do not run CoroSplit and CoroCleanup in LTO pre-link pipeline (PR #100205)

2024-07-23 Thread Vitaly Buka via cfe-commits
https://github.com/vitalybuka approved this pull request. https://github.com/llvm/llvm-project/pull/100205 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [OpenMPIRBuilder][Clang][NFC] - Combine `emitOffloadingArrays` and `emitOffloadingArraysArgument` in OpenMPIRBuilder (PR #97088)

2024-07-23 Thread via 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 df741b2220710a8f59c3a31cf69909714d90a532 e74f34bbec42f634e030a08259f6fdd64a7ce7c7 --e

[clang] [clang-format] Improve BlockIndent at ColumnLimit (PR #93140)

2024-07-23 Thread Gedare Bloom via cfe-commits
https://github.com/gedare updated https://github.com/llvm/llvm-project/pull/93140 >From 09bd1f04730f0accad7ce041b0121f716cc7a18d Mon Sep 17 00:00:00 2001 From: Gedare Bloom Date: Tue, 21 May 2024 22:21:59 -0600 Subject: [PATCH 01/12] [clang-format] Improve BlockIndent at ColumnLimit Fixes #557

[clang] [clang][rtsan] Introduce realtime sanitizer clang codegen and -fsanitize flag (PR #100192)

2024-07-23 Thread Chris Apple via cfe-commits
@@ -1410,6 +1414,35 @@ QualType CodeGenFunction::BuildFunctionArgList(GlobalDecl GD, return ResTy; } +void InsertCallBeforeInstruction(llvm::Function *Fn, cjappl wrote: > Also maybe I missed some discussion. these changes looks like better be done > by ll

[clang] [clang][rtsan] Introduce realtime sanitizer clang codegen and -fsanitize flag (PR #100192)

2024-07-23 Thread Chris Apple via cfe-commits
https://github.com/cjappl updated https://github.com/llvm/llvm-project/pull/100192 >From 0307f457862e4a7ef623a74690422eb1425f1067 Mon Sep 17 00:00:00 2001 From: Chris Apple Date: Thu, 18 Jul 2024 17:29:01 +0200 Subject: [PATCH 1/2] [rtsan] Introduce rtsan clang codegen --- clang/include/clang

[clang] [PAC] Define __builtin_ptrauth_type_discriminator (PR #100204)

2024-07-23 Thread Anton Korobeynikov via cfe-commits
https://github.com/asl milestoned https://github.com/llvm/llvm-project/pull/100204 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [PAC] Define __builtin_ptrauth_type_discriminator (PR #100204)

2024-07-23 Thread Anton Korobeynikov via cfe-commits
https://github.com/asl approved this pull request. Thanks! https://github.com/llvm/llvm-project/pull/100204 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] clang-tidy: readability-redundant-smartptr-get does not remove (#97964) (PR #100177)

2024-07-23 Thread via cfe-commits
akshaykumars614 wrote: I made the changes https://github.com/llvm/llvm-project/pull/100177 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [PAC][clang][test] Implement missing tests for some PAuth features (PR #100206)

2024-07-23 Thread Anton Korobeynikov via cfe-commits
asl wrote: Tagging @ojhunt https://github.com/llvm/llvm-project/pull/100206 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][test] Add function type discrimination tests to static destructor tests (PR #99604)

2024-07-23 Thread Anton Korobeynikov via cfe-commits
https://github.com/asl milestoned https://github.com/llvm/llvm-project/pull/99604 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 8be1325 - [clang][test] Add function type discrimination tests to static destructor tests (#99604)

2024-07-23 Thread via cfe-commits
Author: Oliver Hunt Date: 2024-07-23T14:18:53-07:00 New Revision: 8be1325cb1903797ba3dce67087e395f9e080576 URL: https://github.com/llvm/llvm-project/commit/8be1325cb1903797ba3dce67087e395f9e080576 DIFF: https://github.com/llvm/llvm-project/commit/8be1325cb1903797ba3dce67087e395f9e080576.diff L

[clang] [clang][test] Add function type discrimination tests to static destructor tests (PR #99604)

2024-07-23 Thread Anton Korobeynikov via cfe-commits
https://github.com/asl closed https://github.com/llvm/llvm-project/pull/99604 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [OpenMPIRBuilder][Clang][NFC] - Combine `emitOffloadingArrays` and `emitOffloadingArraysArgument` in OpenMPIRBuilder (PR #97088)

2024-07-23 Thread Pranav Bhandarkar via cfe-commits
https://github.com/bhandarkar-pranav updated https://github.com/llvm/llvm-project/pull/97088 >From ad6ef960b14c23bde1460a0977b6401dc21dfea4 Mon Sep 17 00:00:00 2001 From: Pranav Bhandarkar Date: Sat, 15 Jun 2024 02:00:48 -0500 Subject: [PATCH 01/14] checkpoint commit. Use emitOffloadinArrays fr

[clang] 541a631 - [Clang] Mark test XFAIL until a fix is merged

2024-07-23 Thread Joseph Huber via cfe-commits
Author: Joseph Huber Date: 2024-07-23T16:20:56-05:00 New Revision: 541a631237569e4c23ffba137cbeb5ad8d419286 URL: https://github.com/llvm/llvm-project/commit/541a631237569e4c23ffba137cbeb5ad8d419286 DIFF: https://github.com/llvm/llvm-project/commit/541a631237569e4c23ffba137cbeb5ad8d419286.diff

<    1   2   3   4   5   6   >