Skip to content

[CodeGen][NewPM] MachineCopyPropagation Remove dead ID #125665

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 4, 2025

Conversation

optimisan
Copy link
Contributor

@optimisan optimisan commented Feb 4, 2025

Fix for #125202 (4313345)
(supposed to be "unused ID")

@llvmbot
Copy link
Member

llvmbot commented Feb 4, 2025

@llvm/pr-subscribers-llvm-regalloc

Author: Akshat Oke (optimisan)

Changes

Fix for #125202 (4313345)


Full diff: https://github.com/llvm/llvm-project/pull/125665.diff

1 Files Affected:

  • (modified) llvm/lib/CodeGen/MachineCopyPropagation.cpp (-2)
diff --git a/llvm/lib/CodeGen/MachineCopyPropagation.cpp b/llvm/lib/CodeGen/MachineCopyPropagation.cpp
index e9b3e96218f793..460749a739c763 100644
--- a/llvm/lib/CodeGen/MachineCopyPropagation.cpp
+++ b/llvm/lib/CodeGen/MachineCopyPropagation.cpp
@@ -459,8 +459,6 @@ class MachineCopyPropagation {
   bool UseCopyInstr;
 
 public:
-  static char ID; // Pass identification, replacement for typeid
-
   MachineCopyPropagation(bool CopyInstr = false)
       : UseCopyInstr(CopyInstr || MCPUseCopyInstr) {}
 

@optimisan optimisan merged commit 8fdd982 into llvm:main Feb 4, 2025
7 of 8 checks passed
@optimisan optimisan deleted the remove-dead-id branch February 4, 2025 10:34
Icohedron pushed a commit to Icohedron/llvm-project that referenced this pull request Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants