[llvm-branch-commits] [llvm] [CallSiteInfo][CallGraphSection] Extract and propagate indirect call type ids (PR #87575)

2024-11-20 Thread via llvm-branch-commits
@@ -488,6 +490,35 @@ class LLVM_EXTERNAL_VISIBILITY MachineFunction { /// Callee type id. ConstantInt *TypeId = nullptr; + +CallSiteInfo() {} + +/// Extracts the numeric type id from the CallBase's type operand bundle, +/// and sets TypeId. This is used as

[llvm-branch-commits] [llvm] AMDGPU: Add basic verification for mfma scale intrinsics (PR #117048)

2024-11-20 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-analysis Author: Matt Arsenault (arsenm) Changes Verify the format is valid and the type is one of the expected i32 vectors. Verify the used vector types at least cover the requirements of the corresponding format operand. --- Patch is 22.02 KiB,

[llvm-branch-commits] [clang] [llvm] AMDGPU: Shrink used number of registers for mfma scale based on format (PR #117047)

2024-11-20 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-ir @llvm/pr-subscribers-clang Author: Matt Arsenault (arsenm) Changes Currently the builtins assume you are using an 8-bit format that requires an 8 element vector. We can shrink the number of registers if the format requires 4 or 6. --- Patch is

[llvm-branch-commits] [AsmPrinter][CallGraphSection] Emit call graph section (PR #87576)

2024-11-20 Thread via llvm-branch-commits
https://github.com/Prabhuk updated https://github.com/llvm/llvm-project/pull/87576 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [clang][CallGraphSection] Add type id metadata to indirect call and targets (PR #87573)

2024-11-20 Thread via llvm-branch-commits
https://github.com/Prabhuk updated https://github.com/llvm/llvm-project/pull/87573 >From a8a5848885e12c771f12cfa33b4dbc6a0272e925 Mon Sep 17 00:00:00 2001 From: Prabhuk Date: Mon, 22 Apr 2024 11:34:04 -0700 Subject: [PATCH 1/3] Update clang/lib/CodeGen/CodeGenModule.cpp Cleaner if checks. Co-

[llvm-branch-commits] [CallGraphSection] Add call graph section options and documentation (PR #87572)

2024-11-20 Thread via llvm-branch-commits
https://github.com/Prabhuk updated https://github.com/llvm/llvm-project/pull/87572 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [Multilib] Custom flags processing for library selection (PR #110659)

2024-11-20 Thread via llvm-branch-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 7b8f0d9a968eba4d85cf1d6a4ebc93f5e6dfbd2b b2de2588d108fa19a957a1525a63d522dee93769 --e

[llvm-branch-commits] [clang] [HLSL] Add RWBuffer::Load(Index) (PR #117018)

2024-11-20 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-hlsl Author: Justin Bogner (bogner) Changes This method is the same as `operator[]`, except that it returns a value instead of a reference. --- Full diff: https://github.com/llvm/llvm-project/pull/117018.diff 3 Files Affected: - (modified) clang/lib

[llvm-branch-commits] [llvm] 0d255a3 - Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca a…"

2024-11-20 Thread via llvm-branch-commits
Author: Florian Mayer Date: 2024-11-20T10:01:21-08:00 New Revision: 0d255a3378917ea62c723454b2a1fc3927cdaa15 URL: https://github.com/llvm/llvm-project/commit/0d255a3378917ea62c723454b2a1fc3927cdaa15 DIFF: https://github.com/llvm/llvm-project/commit/0d255a3378917ea62c723454b2a1fc3927cdaa15.diff

[llvm-branch-commits] [clang] [HLSL] Add RWBuffer::Load(Index) (PR #117018)

2024-11-20 Thread via llvm-branch-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 a4e932c29bddb78bd287cabca2e9ea0da6c96337 8c9d382ae6d3c6e2dc8a0d738a97f3b3d14d5413 --e

[llvm-branch-commits] [clang] [clang][CallGraphSection] Add type id metadata to indirect call and targets (PR #87573)

2024-11-20 Thread via llvm-branch-commits
https://github.com/Prabhuk updated https://github.com/llvm/llvm-project/pull/87573 >From a8a5848885e12c771f12cfa33b4dbc6a0272e925 Mon Sep 17 00:00:00 2001 From: Prabhuk Date: Mon, 22 Apr 2024 11:34:04 -0700 Subject: [PATCH 1/3] Update clang/lib/CodeGen/CodeGenModule.cpp Cleaner if checks. Co-

[llvm-branch-commits] [clang][CallGraphSection] Add type id metadata to indirect call and targets (PR #117036)

2024-11-20 Thread via llvm-branch-commits
https://github.com/Prabhuk created https://github.com/llvm/llvm-project/pull/117036 Create and add generalized type identifier metadata to indirect calls, and to functions that may be target to indirect calls. Original RFC: https://lists.llvm.org/pipermail/llvm-dev/2021-June/151044.html Updated

[llvm-branch-commits] [CallSiteInfo][CallGraphSection] Extend CallSiteInfo with TypeId (PR #87574)

2024-11-20 Thread via llvm-branch-commits
https://github.com/Prabhuk updated https://github.com/llvm/llvm-project/pull/87574 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang][CallGraphSection] Add type id metadata to indirect call and targets (PR #117036)

2024-11-20 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Prabhuk (Prabhuk) Changes Create and add generalized type identifier metadata to indirect calls, and to functions that may be target to indirect calls. Original RFC: https://lists.llvm.org/pipermail/llvm-dev/2021-June/151044.html Updated R

[llvm-branch-commits] [llvm] [CallSiteInfo][CallGraphSection] Extract and propagate indirect call type ids (PR #87575)

2024-11-20 Thread via llvm-branch-commits
https://github.com/Prabhuk updated https://github.com/llvm/llvm-project/pull/87575 >From 1a8d810d352fbe84c0521c7614689b60ade693c8 Mon Sep 17 00:00:00 2001 From: Necip Fazil Yildiran Date: Tue, 19 Nov 2024 15:25:34 -0800 Subject: [PATCH] Fixed the tests and addressed most of the review comments.

[llvm-branch-commits] [llvm] [CallSiteInfo][CallGraphSection] Extract and propagate indirect call type ids (PR #87575)

2024-11-20 Thread via llvm-branch-commits
https://github.com/Prabhuk updated https://github.com/llvm/llvm-project/pull/87575 >From 1a8d810d352fbe84c0521c7614689b60ade693c8 Mon Sep 17 00:00:00 2001 From: Necip Fazil Yildiran Date: Tue, 19 Nov 2024 15:25:34 -0800 Subject: [PATCH] Fixed the tests and addressed most of the review comments.

[llvm-branch-commits] [CallGraphSection] Add call graph section options and documentation (PR #87572)

2024-11-20 Thread via llvm-branch-commits
https://github.com/Prabhuk updated https://github.com/llvm/llvm-project/pull/87572 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang][CallGraphSection] Add call graph section option and docs (PR #117037)

2024-11-20 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang Author: Prabhuk (Prabhuk) Changes This documents the support for computing, storing, and restoring call graphs with LLVM. This adds the options and the design documentation for computing and storing the call graphs. To enable, use `-fcall-graph-sec

[llvm-branch-commits] [clang][CallGraphSection] Add call graph section option and docs (PR #117037)

2024-11-20 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang-codegen Author: Prabhuk (Prabhuk) Changes This documents the support for computing, storing, and restoring call graphs with LLVM. This adds the options and the design documentation for computing and storing the call graphs. To enable, use `-fcall-g

[llvm-branch-commits] [clang][CallGraphSection] Add type id metadata to indirect call and targets (PR #117036)

2024-11-20 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-clang-codegen Author: Prabhuk (Prabhuk) Changes Create and add generalized type identifier metadata to indirect calls, and to functions that may be target to indirect calls. Original RFC: https://lists.llvm.org/pipermail/llvm-dev/2021-June/151044.html U

[llvm-branch-commits] [AsmPrinter][CallGraphSection] Emit call graph section (PR #87576)

2024-11-20 Thread via llvm-branch-commits
https://github.com/Prabhuk updated https://github.com/llvm/llvm-project/pull/87576 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang][CallGraphSection] Add call graph section option and docs (PR #117037)

2024-11-20 Thread via llvm-branch-commits
https://github.com/Prabhuk created https://github.com/llvm/llvm-project/pull/117037 This documents the support for computing, storing, and restoring call graphs with LLVM. This adds the options and the design documentation for computing and storing the call graphs. To enable, use `-fcall-graph-s

[llvm-branch-commits] [libc] 629d9e2 - Revert "[libc] Use best-fit binary trie to make malloc logarithmic (#106259)"

2024-11-20 Thread via llvm-branch-commits
Author: Daniel Thornburgh Date: 2024-11-20T13:59:49-08:00 New Revision: 629d9e20f5713e4cfc2d2cef109dcaa5bc1e3ee2 URL: https://github.com/llvm/llvm-project/commit/629d9e20f5713e4cfc2d2cef109dcaa5bc1e3ee2 DIFF: https://github.com/llvm/llvm-project/commit/629d9e20f5713e4cfc2d2cef109dcaa5bc1e3ee2.d

[llvm-branch-commits] [flang] [llvm] [Flang][NFC] Move runtime library files to flang-rt. (PR #110298)

2024-11-19 Thread via llvm-branch-commits
@@ -6,8 +6,7 @@ // //===--===// -#include "flang/Optimizer/Transforms/CUFOpConversion.h" -#include "flang/Common/Fortran.h" +#include "flang/Optimizer/Transforms/CufOpConversion.h" h-vetinari

[llvm-branch-commits] [compiler-rt] release/19.x: [compiler-rt] [test] Remove an unintended grep parameter (PR #116774)

2024-11-19 Thread via llvm-branch-commits
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

[llvm-branch-commits] [lld] [lld][Hexagon] Fix R_HEX_B22_PCREL range checks (#115925) (PR #116906)

2024-11-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-lld-elf Author: Brian Cain (androm3da) Changes Range checks for R_HEX_B22_PCREL did not account for the fact that offset is measured in instructions, not bytes. Add a test for all range-checked relocations. --- Full diff: https://github.com/llvm/llvm-

[llvm-branch-commits] [lld] [lld][Hexagon] Fix R_HEX_B22_PCREL range checks (#115925) (PR #116906)

2024-11-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-lld Author: Brian Cain (androm3da) Changes Range checks for R_HEX_B22_PCREL did not account for the fact that offset is measured in instructions, not bytes. Add a test for all range-checked relocations. --- Full diff: https://github.com/llvm/llvm-proj

[llvm-branch-commits] [compiler-rt] release/19.x: [compiler-rt] [test] Remove an unintended grep parameter (PR #116774)

2024-11-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-compiler-rt-sanitizer Author: None (llvmbot) Changes Backport c2717a89b8437d041d532c7b2c535ca4f4b35872 Requested by: @mstorsjo --- Full diff: https://github.com/llvm/llvm-project/pull/116774.diff 1 Files Affected: - (modified) compiler-rt/test/asan/

[llvm-branch-commits] [clang] [flang] [lld] [llvm] [Flang] LLVM_ENABLE_RUNTIMES=flang-rt (PR #110217)

2024-11-19 Thread via llvm-branch-commits
@@ -150,12 +150,18 @@ if ("flang" IN_LIST LLVM_ENABLE_PROJECTS) endif() endif() +if ("flang-rt" IN_LIST LLVM_ENABLE_RUNTIMES) + if (NOT "flang" IN_LIST LLVM_ENABLE_PROJECTS) +message(FATAL_ERROR "Flang is not enabled, but is required for the Flang-RT runtime") + endif

[llvm-branch-commits] [clang] [flang] [lld] [llvm] [Flang] LLVM_ENABLE_RUNTIMES=flang-rt (PR #110217)

2024-11-19 Thread via llvm-branch-commits
h-vetinari wrote: Compiling this on linux with GCC/gfortran currently runs into the following for me ``` [347/371] Linking CXX executable bin/f18-parse-demo FAILED: bin/f18-parse-demo : && $BUILD_PREFIX/bin/x86_64-conda-linux-gnu-c++ -fvisibility-inlines-hidden -fmessage-length=0 -march=nocona

[llvm-branch-commits] [flang] [llvm] [Flang][NFC] Move runtime library files to flang-rt. (PR #110298)

2024-11-19 Thread via llvm-branch-commits
https://github.com/h-vetinari edited https://github.com/llvm/llvm-project/pull/110298 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] release/19.x: [ObjC] Name lookup in methods shouldn't allow shadowing types (#116683) (PR #116863)

2024-11-19 Thread via llvm-branch-commits
https://github.com/AreaZR updated https://github.com/llvm/llvm-project/pull/116863 >From 7df6033013ab2c72c396a38db02e30db2cafe075 Mon Sep 17 00:00:00 2001 From: Rose Date: Tue, 19 Nov 2024 14:50:47 -0500 Subject: [PATCH] [ObjC] Name lookup in methods shouldn't allow shadowing types (#116683)

[llvm-branch-commits] [llvm] [CallSiteInfo][CallGraphSection] Extract and propagate indirect call type ids (PR #87575)

2024-11-19 Thread via llvm-branch-commits
https://github.com/Prabhuk updated https://github.com/llvm/llvm-project/pull/87575 >From 1a8d810d352fbe84c0521c7614689b60ade693c8 Mon Sep 17 00:00:00 2001 From: Necip Fazil Yildiran Date: Tue, 19 Nov 2024 15:25:34 -0800 Subject: [PATCH] Fixed the tests and addressed most of the review comments.

[llvm-branch-commits] [AsmPrinter][CallGraphSection] Emit call graph section (PR #87576)

2024-11-19 Thread via llvm-branch-commits
https://github.com/Prabhuk updated https://github.com/llvm/llvm-project/pull/87576 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [PassBuilder][CodeGen] Add callback style pass buider (PR #116913)

2024-11-19 Thread via llvm-branch-commits
https://github.com/paperchalice created https://github.com/llvm/llvm-project/pull/116913 None >From 169de4c80184f46482a61a9323dc41d6d5ac6807 Mon Sep 17 00:00:00 2001 From: PaperChalice Date: Wed, 20 Nov 2024 11:31:38 +0800 Subject: [PATCH] [PassBuilder][CodeGen] Add callback style pass buider

[llvm-branch-commits] [llvm] [PassBuilder][CodeGen] Add callback style pass buider (PR #116913)

2024-11-19 Thread via llvm-branch-commits
paperchalice wrote: > [!WARNING] > This pull request is not mergeable via GitHub because a downstack PR is > open. Once all requirements are satisfied, merge this PR as a stack href="https://app.graphite.dev/github/pr/llvm/llvm-project/116913?utm_source=stack-comment-downstack-mergeability-warn

[llvm-branch-commits] [llvm] [PassBuilder][CodeGen] Add callback style pass buider (PR #116913)

2024-11-19 Thread via llvm-branch-commits
https://github.com/paperchalice edited https://github.com/llvm/llvm-project/pull/116913 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [PassBuilder][CodeGen] Add callback style pass buider (PR #116913)

2024-11-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-x86 @llvm/pr-subscribers-backend-amdgpu Author: None (paperchalice) Changes In contrast to #89708, this pull request demonstrates a callback style codegen pipeline builder. Suggestions are welcome! It supports `-start/stop-after/before` by addi

[llvm-branch-commits] [llvm] [PassBuilder][CodeGen] Add callback style pass buider (PR #116913)

2024-11-19 Thread via llvm-branch-commits
https://github.com/paperchalice ready_for_review https://github.com/llvm/llvm-project/pull/116913 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] release/19.x: [ObjC] Name lookup in methods shouldn't allow shadowing types (#116683) (PR #116863)

2024-11-19 Thread via llvm-branch-commits
https://github.com/AreaZR closed https://github.com/llvm/llvm-project/pull/116863 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] 4129507 - Revert "[X86] Recognize POP/ADD/SUB modifying rsp in getSPAdjust. (#114265)"

2024-11-20 Thread via llvm-branch-commits
Author: Phoebe Wang Date: 2024-11-20T22:35:54+08:00 New Revision: 41295077c983f5c2269e052722bf7b8fcbd939b0 URL: https://github.com/llvm/llvm-project/commit/41295077c983f5c2269e052722bf7b8fcbd939b0 DIFF: https://github.com/llvm/llvm-project/commit/41295077c983f5c2269e052722bf7b8fcbd939b0.diff L

[llvm-branch-commits] [llvm] release/19.x: [SDAG][ISel][TableGen][LoongArch] Report error for trivial bitcasts when there are predicate calls (#116075) (PR #116797)

2024-11-19 Thread via llvm-branch-commits
llvmbot wrote: @arsenm @topperc What do you think about merging this PR to the release branch? https://github.com/llvm/llvm-project/pull/116797 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailm

[llvm-branch-commits] [llvm] release/19.x: [SDAG][ISel][TableGen][LoongArch] Report error for trivial bitcasts when there are predicate calls (#116075) (PR #116797)

2024-11-19 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-loongarch Author: None (llvmbot) Changes Backport 2f4572f5e7e2d7f4626e825404c11f07d191fb05 c727b48287cc96888f9e262f23d53cf635cf3b3d Requested by: @dtcxzyw --- Full diff: https://github.com/llvm/llvm-project/pull/116797.diff 8 Files Affected:

[llvm-branch-commits] [mlir] 949884c - Revert "[MLIR] Add callback functions for ModuleToObject (#116007)"

2024-11-19 Thread via llvm-branch-commits
Author: Mehdi Amini Date: 2024-11-19T15:28:00+01:00 New Revision: 949884cd2246a4ef36a03c00f8ba6b914d82bc8f URL: https://github.com/llvm/llvm-project/commit/949884cd2246a4ef36a03c00f8ba6b914d82bc8f DIFF: https://github.com/llvm/llvm-project/commit/949884cd2246a4ef36a03c00f8ba6b914d82bc8f.diff L

[llvm-branch-commits] [flang] [flang][OpenMP] Apply modifier representation to semantic checks (PR #116658)

2024-11-18 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-flang-fir-hlfir Author: Krzysztof Parzyszek (kparzysz) Changes Also, define helper macros in parse-tree.h. Apply the new modifier representation to the DEFAULTMAP and REDUCTION clauses, with testcases utilizing the new modifier validation. OpenMP modi

[llvm-branch-commits] [clang] release/19.x: [C++20] [Modules] Fix the duplicated static initializer problem (#114193) (PR #114197)

2024-11-18 Thread via llvm-branch-commits
github-actions[bot] wrote: @ChuanqiXu9 (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR.

[llvm-branch-commits] [libcxx] [libcxxabi] release/19.x: [libc++] Fix broken configuration system-libcxxabi on Apple (#110920) (PR #115892)

2024-11-18 Thread via llvm-branch-commits
github-actions[bot] wrote: @mgorny (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR. ht

[llvm-branch-commits] [llvm] release/19.x: [InstCombine] Drop nsw in negation of select (PR #116097)

2024-11-18 Thread via llvm-branch-commits
github-actions[bot] wrote: @AreaZR (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR. ht

[llvm-branch-commits] [llvm] release/19.x: [SystemZ] Use the EVT version of getVectorVT() in combineTruncateExtract(). (#100150) (PR #116510)

2024-11-18 Thread via llvm-branch-commits
github-actions[bot] wrote: @llvmbot Congratulations on having your first Pull Request (PR) merged into the LLVM Project! Your changes will be combined with recent changes from other authors, then tested by our [build bots](https://lab.llvm.org/buildbot/). If there is a problem with a build,

[llvm-branch-commits] [llvm] release/19.x: [SystemZ] Use the EVT version of getVectorVT() in combineTruncateExtract(). (#100150) (PR #116510)

2024-11-18 Thread via llvm-branch-commits
github-actions[bot] wrote: @tstellar (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR.

[llvm-branch-commits] [llvm] [CodeGen][NewPM] Port SpillPlacement analysis to NPM (PR #116618)

2024-11-18 Thread via llvm-branch-commits
@@ -38,13 +39,21 @@ class BitVector; class EdgeBundles; class MachineBlockFrequencyInfo; class MachineFunction; +class SpillPlacementWrapperLegacy; +class SpillPlacementAnalysis; + +class SpillPlacement { + friend class SpillPlacementWrapperLegacy; + friend class SpillPlaceme

[llvm-branch-commits] [clang] [MSVC] work-around for compile time issue 102513 (PR #111314)

2024-11-18 Thread via llvm-branch-commits
github-actions[bot] wrote: @bd1976bris (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR.

[llvm-branch-commits] [llvm] a8f0c9b - Revert "[SandboxIR] Add debug checker to compare IR before/after a revert (#1…"

2024-11-18 Thread via llvm-branch-commits
Author: Jorge Gorbe Moya Date: 2024-11-18T09:53:34-08:00 New Revision: a8f0c9ba51bfec56e936d73341135d062c1b59ff URL: https://github.com/llvm/llvm-project/commit/a8f0c9ba51bfec56e936d73341135d062c1b59ff DIFF: https://github.com/llvm/llvm-project/commit/a8f0c9ba51bfec56e936d73341135d062c1b59ff.di

[llvm-branch-commits] [clang] [flang] [lld] [llvm] [Flang] LLVM_ENABLE_RUNTIMES=flang-rt (PR #110217)

2024-11-08 Thread via llvm-branch-commits
jeanPerier wrote: When building the runtime out of tree and running check-flang-rt, I am seeing an error about LLVM header not found: ``` make -j check-flang-rt [ 1%] Building CXX object flang-rt/unittests/third-party/unittest/CMakeFiles/llvm_gtest.dir/googletest/src/gtest-all.cc.o [ 1%] Bui

[llvm-branch-commits] [llvm] e06af1d - Revert "[X86][AMX] Support AMX-AVX512 (#114070)"

2024-11-08 Thread via llvm-branch-commits
Author: Alan Zhao Date: 2024-11-08T16:12:54-08:00 New Revision: e06af1d045a57e93ebf3c86c4ac70aa752a93fa1 URL: https://github.com/llvm/llvm-project/commit/e06af1d045a57e93ebf3c86c4ac70aa752a93fa1 DIFF: https://github.com/llvm/llvm-project/commit/e06af1d045a57e93ebf3c86c4ac70aa752a93fa1.diff LOG

[llvm-branch-commits] [llvm] release/19.x: backport PR115901 (PR #116104)

2024-11-15 Thread via llvm-branch-commits
github-actions[bot] wrote: @antoniofrighetto (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to thi

[llvm-branch-commits] [llvm] release/19.x: [llvm][aarch64] Fix Arm64EC name mangling algorithm (#115567) (PR #116273)

2024-11-15 Thread via llvm-branch-commits
github-actions[bot] wrote: @dpaoliello (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR.

[llvm-branch-commits] [clang] [clang] Fix C23 constexpr crashes (#112708) (PR #112855)

2024-11-15 Thread via llvm-branch-commits
github-actions[bot] wrote: @Fznamznon (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR.

[llvm-branch-commits] [clang] release/19.x: [clang-format] Fix a regression in parsing `switch` in macro call (#114506) (PR #114640)

2024-11-15 Thread via llvm-branch-commits
github-actions[bot] wrote: @owenca (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR. ht

[llvm-branch-commits] [clang] release/19.x: [Clang] Consider outer instantiation scopes for constraint normalization (PR #114951)

2024-11-15 Thread via llvm-branch-commits
github-actions[bot] wrote: @zyn0217 (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR. h

[llvm-branch-commits] [compiler-rt] release/19.x: [compiler-rt] [test] Fix using toolchains that rely on Clang default configs (#113491) (PR #114229)

2024-11-15 Thread via llvm-branch-commits
github-actions[bot] wrote: @mstorsjo (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR.

[llvm-branch-commits] [llvm] release/19.x: [RISCV] Don't delete all fixups in RISCVMCCodeEmitter::expandLongCondBr. (#109513) (PR #114089)

2024-11-15 Thread via llvm-branch-commits
github-actions[bot] wrote: @topperc (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR. h

[llvm-branch-commits] [clang] release/19.x: [LoongArch][Clang] Make the parameters and return value of {x, }vxor.v builti ns `unsigned char` vectors (#114513) (PR #114958)

2024-11-15 Thread via llvm-branch-commits
github-actions[bot] wrote: @SixWeining (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR.

[llvm-branch-commits] [compiler-rt] release/19.x: [compiler-rt] Stop using x86 builtin on AArch64 with GCC (#93890) (PR #115006)

2024-11-15 Thread via llvm-branch-commits
github-actions[bot] wrote: @XrXr (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR. http

[llvm-branch-commits] [clang] release/19.x: [clang-repl] Fix undefined lld::wasm::link symbol while building clangInterpreter for wasm (#113446) (PR #115848)

2024-11-15 Thread via llvm-branch-commits
github-actions[bot] wrote: @aheejin (or anyone else). If you would like to add a note about this fix in the release notes (completely optional). Please reply to this comment with a one or two sentence description of the fix. When you are done, please add the release:note label to this PR. h

[llvm-branch-commits] [llvm] AMDGPU: Add subtarget features for minimum3/maximum3 instructions (PR #116308)

2024-11-14 Thread via llvm-branch-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 d6fb34c24c2d71a149bb4e7c4c9ada0a343d9313 b99a4f40b3d0ea2e13c473853c2dcb9be762ad60 --e

[llvm-branch-commits] [llvm] AMDGPU: Add subtarget features for minimum3/maximum3 instructions (PR #116308)

2024-11-14 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Matt Arsenault (arsenm) Changes gfx12 and gfx950 managed to produce 3 different permutations of this feature. gfx12 supports f32 and f16, and gfx950 supports f32 and v2f16. This piece only adds the f32/f16 features gfx12, so it can

[llvm-branch-commits] [clang] [llvm] AMDGPU: Add v_prng_b32 instruction for gfx950 (PR #116310)

2024-11-14 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Matt Arsenault (arsenm) Changes Rand num instruction for stochastic rounding. --- Patch is 21.42 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/116310.diff 16 Files Affected: - (mod

[llvm-branch-commits] [llvm] AMDGPU: Add V_CVT_F32_BF16 for gfx950 (PR #116311)

2024-11-14 Thread via llvm-branch-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 d613fe2730831685287e7d2dfc62ff993d8b7a86 0451d01ded8d5669bf1b46071aeb1703484acac1 --e

[llvm-branch-commits] [clang] [llvm] AMDGPU: Add first gfx950 mfma instructions (PR #116312)

2024-11-14 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Matt Arsenault (arsenm) Changes Scheduling info and hazards are wrong and TBD. --- Patch is 40.60 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/116312.diff 16 Files Affected: - (mo

[llvm-branch-commits] [llvm] AMDGPU: Add V_CVT_F32_BF16 for gfx950 (PR #116311)

2024-11-14 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Matt Arsenault (arsenm) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/116311.diff 6 Files Affected: - (modified) llvm/lib/Target/AMDGPU/AMDGPU.td (+11-1) - (modified) llvm/lib/Target/AMDGPU/AMDGPUSubtarget.

[llvm-branch-commits] [llvm] AMDGPU: Increase the LDS size to support to 160 KB for gfx950 (PR #116309)

2024-11-14 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-amdgpu Author: Matt Arsenault (arsenm) Changes --- Full diff: https://github.com/llvm/llvm-project/pull/116309.diff 10 Files Affected: - (modified) llvm/docs/AMDGPUUsage.rst (+2) - (modified) llvm/lib/Target/AMDGPU/AMDGPU.td (+2-1) - (modi

[llvm-branch-commits] [clang] 110599f - Revert "[HLSL] Add implicit resource element type concepts to AST (#112600)"

2024-11-14 Thread via llvm-branch-commits
Author: Joshua Batista Date: 2024-11-14T17:08:30-08:00 New Revision: 110599f1ada1999c5c33c41928cec0ea6e438992 URL: https://github.com/llvm/llvm-project/commit/110599f1ada1999c5c33c41928cec0ea6e438992 DIFF: https://github.com/llvm/llvm-project/commit/110599f1ada1999c5c33c41928cec0ea6e438992.diff

[llvm-branch-commits] [llvm] [CodeGen][NewPM] Port PeepholeOptimizer to NPM (PR #116326)

2024-11-14 Thread via llvm-branch-commits
@@ -1644,9 +1652,36 @@ bool PeepholeOptimizer::optimizeRecurrence(MachineInstr &PHI) { return Changed; } -bool PeepholeOptimizer::runOnMachineFunction(MachineFunction &MF) { +PreservedAnalyses +PeepholeOptimizerPass::run(MachineFunction &MF, + Mach

[llvm-branch-commits] [llvm] [CodeGen][NewPM] Port PeepholeOptimizer to NPM (PR #116326)

2024-11-14 Thread via llvm-branch-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 4025b13066786a370abb33cbc5e14388c7f2d091 9a4813f306f06ab57e9b2568e44056b2daaf59b5 --e

[llvm-branch-commits] [llvm] release/19.x: [SystemZ] Use the EVT version of getVectorVT() in combineTruncateExtract(). (#100150) (PR #116510)

2024-11-16 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-backend-systemz Author: None (llvmbot) Changes Backport 22bc9db92b46965882b1c77aebc86430149b0912 Requested by: @tstellar --- Full diff: https://github.com/llvm/llvm-project/pull/116510.diff 2 Files Affected: - (modified) llvm/lib/Target/SystemZ/Syst

[llvm-branch-commits] [llvm] release/19.x: [SystemZ] Use the EVT version of getVectorVT() in combineTruncateExtract(). (#100150) (PR #116510)

2024-11-16 Thread via llvm-branch-commits
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

[llvm-branch-commits] [llvm] release/19.x: [SystemZ] Use the EVT version of getVectorVT() in combineTruncateExtract(). (#100150) (PR #116510)

2024-11-16 Thread via llvm-branch-commits
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/116510 Backport 22bc9db92b46965882b1c77aebc86430149b0912 Requested by: @tstellar >From 00c9d22eaafa6258da38cafd3a636c1106d238c4 Mon Sep 17 00:00:00 2001 From: Jonas Paulsson Date: Fri, 26 Jul 2024 14:33:40 +0200 Subj

[llvm-branch-commits] [mlir] [mlir][Transforms] Add 1:N `matchAndRewrite` overload (PR #116470)

2024-11-16 Thread via llvm-branch-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 e872b86e236dc88a5d4b46a25b3eaefa734379b9 350f01b1f08b634087baf0c63511ea39b49589db --e

[llvm-branch-commits] [llvm] release/19.x: [SystemZ] Use the EVT version of getVectorVT() in combineTruncateExtract(). (#100150) (PR #116510)

2024-11-16 Thread via llvm-branch-commits
https://github.com/llvmbot updated https://github.com/llvm/llvm-project/pull/116510 >From 4a24ff4ca001c095f30ed2e17301386b84cc30d2 Mon Sep 17 00:00:00 2001 From: Jonas Paulsson Date: Fri, 26 Jul 2024 14:33:40 +0200 Subject: [PATCH] [SystemZ] Use the EVT version of getVectorVT() in combineTrunc

[llvm-branch-commits] [mlir] [mlir][Transforms] Support 1:N mappings in `ConversionValueMapping` (PR #116524)

2024-11-17 Thread via llvm-branch-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 a496ab40c0a359d65fb2acfc2d862f0e4cf8b302 f027116e3d12422bcd2cc9a25dfd3ad09fc52196 --e

[llvm-branch-commits] [flang] 61999d7 - Revert "[flang][cuda] Specialize entry point for scalar to desc data transfer…"

2024-11-15 Thread via llvm-branch-commits
Author: Valentin Clement (バレンタイン クレメン) Date: 2024-11-15T17:44:34-08:00 New Revision: 61999d7f2a3f86a0633fc3033805447f1508e6da URL: https://github.com/llvm/llvm-project/commit/61999d7f2a3f86a0633fc3033805447f1508e6da DIFF: https://github.com/llvm/llvm-project/commit/61999d7f2a3f86a0633fc30338054

[llvm-branch-commits] [flang] 61999d7 - Revert "[flang][cuda] Specialize entry point for scalar to desc data transfer…"

2024-11-15 Thread via llvm-branch-commits
Author: Valentin Clement (バレンタイン クレメン) Date: 2024-11-15T17:44:34-08:00 New Revision: 61999d7f2a3f86a0633fc3033805447f1508e6da URL: https://github.com/llvm/llvm-project/commit/61999d7f2a3f86a0633fc3033805447f1508e6da DIFF: https://github.com/llvm/llvm-project/commit/61999d7f2a3f86a0633fc30338054

[llvm-branch-commits] [clang] [Clang] Improve type traits recognition in `__has_builtin` (#111516) (PR #111660)

2024-11-15 Thread via llvm-branch-commits
cor3ntin wrote: this patch fixes the regression in 1.9.2 (or 3, I do not remember). I have absolutely no idea why it would cause issues with nvcc though https://github.com/llvm/llvm-project/pull/111660 ___ llvm-branch-commits mailing list llvm-branch-

[llvm-branch-commits] [clang] 2a02b2e - Revert "[Driver][SYCL] Add initial SYCL offload compilation support (#107493)"

2024-11-15 Thread via llvm-branch-commits
Author: Aaron Ballman Date: 2024-11-15T08:04:17-05:00 New Revision: 2a02b2ef960820c9045fe180c403583598a98044 URL: https://github.com/llvm/llvm-project/commit/2a02b2ef960820c9045fe180c403583598a98044 DIFF: https://github.com/llvm/llvm-project/commit/2a02b2ef960820c9045fe180c403583598a98044.diff

[llvm-branch-commits] [llvm] 6028618 - Revert "[NVPTX] Add folding for cvt.rn.bf16x2.f32 (#116109)"

2024-11-15 Thread via llvm-branch-commits
Author: Tom Natan Date: 2024-11-15T11:51:24Z New Revision: 6028618116f542ad62010400c9d1868ea79b7962 URL: https://github.com/llvm/llvm-project/commit/6028618116f542ad62010400c9d1868ea79b7962 DIFF: https://github.com/llvm/llvm-project/commit/6028618116f542ad62010400c9d1868ea79b7962.diff LOG: Rev

[llvm-branch-commits] [llvm] [CodeGen][NewPM] Port PeepholeOptimizer to NPM (PR #116326)

2024-11-15 Thread via llvm-branch-commits
https://github.com/paperchalice approved this pull request. https://github.com/llvm/llvm-project/pull/116326 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] 42c0948 - Revert "[analyzer][Solver] Early return if sym is concrete on assuming (#115579)"

2024-11-15 Thread via llvm-branch-commits
Author: Balazs Benics Date: 2024-11-15T10:27:44+01:00 New Revision: 42c0948d6102cf3f5a7baad52db5e16aaf5eacc8 URL: https://github.com/llvm/llvm-project/commit/42c0948d6102cf3f5a7baad52db5e16aaf5eacc8 DIFF: https://github.com/llvm/llvm-project/commit/42c0948d6102cf3f5a7baad52db5e16aaf5eacc8.diff

[llvm-branch-commits] [llvm] release/19.x [InstCombine] Drop nsw in negation of select (PR #116097)

2024-11-13 Thread via llvm-branch-commits
llvmbot wrote: @llvm/pr-subscribers-llvm-transforms Author: Rose (AreaZR) Changes Closes https://github.com/llvm/llvm-project/issues/112666 and https://github.com/llvm/llvm-project/issues/114181. (cherry-picked from 8d86a537ad756e31832eab67371179e881452fb5) --- Full diff: https://github

[llvm-branch-commits] [CallGraphSection] Add call graph section options and documentation (PR #87572)

2024-11-13 Thread via llvm-branch-commits
https://github.com/Prabhuk updated https://github.com/llvm/llvm-project/pull/87572 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [CallSiteInfo][CallGraphSection] Extend CallSiteInfo with TypeId (PR #87574)

2024-11-13 Thread via llvm-branch-commits
https://github.com/Prabhuk updated https://github.com/llvm/llvm-project/pull/87574 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [AsmPrinter][CallGraphSection] Emit call graph section (PR #87576)

2024-11-13 Thread via llvm-branch-commits
https://github.com/Prabhuk updated https://github.com/llvm/llvm-project/pull/87576 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [CallSiteInfo][CallGraphSection] Extract and propagate indirect call type ids (PR #87575)

2024-11-13 Thread via llvm-branch-commits
https://github.com/Prabhuk updated https://github.com/llvm/llvm-project/pull/87575 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [clang][CallGraphSection] Add type id metadata to indirect call and targets (PR #87573)

2024-11-13 Thread via llvm-branch-commits
https://github.com/Prabhuk updated https://github.com/llvm/llvm-project/pull/87573 >From a8a5848885e12c771f12cfa33b4dbc6a0272e925 Mon Sep 17 00:00:00 2001 From: Prabhuk Date: Mon, 22 Apr 2024 11:34:04 -0700 Subject: [PATCH 1/3] Update clang/lib/CodeGen/CodeGenModule.cpp Cleaner if checks. Co-

[llvm-branch-commits] [clang] [clang][CallGraphSection] Add type id metadata to indirect call and targets (PR #87573)

2024-11-13 Thread via llvm-branch-commits
https://github.com/Prabhuk updated https://github.com/llvm/llvm-project/pull/87573 >From a8a5848885e12c771f12cfa33b4dbc6a0272e925 Mon Sep 17 00:00:00 2001 From: Prabhuk Date: Mon, 22 Apr 2024 11:34:04 -0700 Subject: [PATCH 1/3] Update clang/lib/CodeGen/CodeGenModule.cpp Cleaner if checks. Co-

[llvm-branch-commits] [CallSiteInfo][CallGraphSection] Extend CallSiteInfo with TypeId (PR #87574)

2024-11-13 Thread via llvm-branch-commits
https://github.com/Prabhuk updated https://github.com/llvm/llvm-project/pull/87574 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [CallSiteInfo][CallGraphSection] Extend CallSiteInfo with TypeId (PR #87574)

2024-11-13 Thread via llvm-branch-commits
https://github.com/Prabhuk updated https://github.com/llvm/llvm-project/pull/87574 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [AsmPrinter][CallGraphSection] Emit call graph section (PR #87576)

2024-11-13 Thread via llvm-branch-commits
https://github.com/Prabhuk updated https://github.com/llvm/llvm-project/pull/87576 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [CallGraphSection] Add call graph section options and documentation (PR #87572)

2024-11-13 Thread via llvm-branch-commits
https://github.com/Prabhuk updated https://github.com/llvm/llvm-project/pull/87572 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [CallGraphSection] Add call graph section options and documentation (PR #87572)

2024-11-13 Thread via llvm-branch-commits
https://github.com/Prabhuk updated https://github.com/llvm/llvm-project/pull/87572 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

<    55   56   57   58   59   60   61   62   63   64   >