[llvm-branch-commits] [llvm] [AMDGPU] Insert inliner anchor earlier (PR #169478)

2025-12-09 Thread Gang Chen via llvm-branch-commits
https://github.com/cmc-rep approved this pull request. https://github.com/llvm/llvm-project/pull/169478 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [AMDGPU] Insert inliner anchor earlier (PR #169478)

2025-12-09 Thread Gang Chen via llvm-branch-commits
cmc-rep wrote: This one also looks good to me. https://github.com/llvm/llvm-project/pull/169478 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [AMDGPU] Update machine frame info during inlining (PR #169477)

2025-12-09 Thread Gang Chen via llvm-branch-commits
cmc-rep wrote: This one seems a small incremental change. Looks good to me. https://github.com/llvm/llvm-project/pull/169477 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-br

[llvm-branch-commits] [llvm] [AMDGPU] Add machine-level inliner pass (PR #169476)

2025-12-08 Thread Gang Chen via llvm-branch-commits
@@ -0,0 +1,122 @@ +; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5 +; RUN: llc -mtriple=amdgcn--amdpal -mcpu=gfx1200 -amdgpu-enable-machine-level-inliner < %s | FileCheck %s + +declare !callback !0 i32 @llvm.amdgcn.call.whole.w

[llvm-branch-commits] [llvm] [AMDGPU] Add machine-level inliner pass (PR #169476)

2025-12-08 Thread Gang Chen via llvm-branch-commits
https://github.com/cmc-rep edited https://github.com/llvm/llvm-project/pull/169476 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [AMDGPU] Add machine-level inliner pass (PR #169476)

2025-12-08 Thread Gang Chen via llvm-branch-commits
https://github.com/cmc-rep edited https://github.com/llvm/llvm-project/pull/169476 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [AMDGPU] Add machine-level inliner pass (PR #169476)

2025-12-08 Thread Gang Chen via llvm-branch-commits
https://github.com/cmc-rep edited https://github.com/llvm/llvm-project/pull/169476 ___ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [llvm] [AMDGPU] Add machine-level inliner pass (PR #169476)

2025-12-08 Thread Gang Chen via llvm-branch-commits
@@ -0,0 +1,262 @@ +//===-- AMDGPUMachineLevelInliner.cpp - AMDGPU Machine Level Inliner ===// +// +// 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: Apach

[llvm-branch-commits] [llvm] [AMDGPU] Add machine-level inliner pass (PR #169476)

2025-12-08 Thread Gang Chen via llvm-branch-commits
@@ -0,0 +1,262 @@ +//===-- AMDGPUMachineLevelInliner.cpp - AMDGPU Machine Level Inliner ===// +// +// 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: Apach