[llvm] [AMDGPU] Delete amdgpu-unify-metadata in optdriver.cpp (PR #153717)

via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 14 17:20:19 PDT 2025


https://github.com/Shoreshen created https://github.com/llvm/llvm-project/pull/153717

Fix up for https://github.com/llvm/llvm-project/pull/153548, which is from https://github.com/llvm/llvm-project/issues/153150.

>From be3737050d61be8697a55cba0a208961f6617348 Mon Sep 17 00:00:00 2001
From: shore <372660931 at qq.com>
Date: Fri, 15 Aug 2025 08:18:41 +0800
Subject: [PATCH] delete amdgpu-unify-metadata i optdriver.cpp

---
 llvm/tools/opt/optdriver.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/llvm/tools/opt/optdriver.cpp b/llvm/tools/opt/optdriver.cpp
index a185ea464decc..26902b213571f 100644
--- a/llvm/tools/opt/optdriver.cpp
+++ b/llvm/tools/opt/optdriver.cpp
@@ -340,7 +340,6 @@ static bool shouldPinPassToLegacyPM(StringRef Pass) {
       "amdgpu-lower-kernel-attributes",
       "amdgpu-propagate-attributes-early",
       "amdgpu-propagate-attributes-late",
-      "amdgpu-unify-metadata",
       "amdgpu-printf-runtime-binding",
       "amdgpu-always-inline"};
   if (llvm::is_contained(PassNameExactToIgnore, Pass))



More information about the llvm-commits mailing list