[llvm] [X86] Fix equality operator ambiguity (PR #152739)
Gregor Jasny via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 8 08:19:05 PDT 2025
https://github.com/gjasny updated https://github.com/llvm/llvm-project/pull/152739
>From 09a04a4ae48ddc6f3f27a5f2bfe1e3d85d771b4b Mon Sep 17 00:00:00 2001
From: Gregor Jasny <gjasny at googlemail.com>
Date: Fri, 8 Aug 2025 16:18:47 +0100
Subject: [PATCH] [X86] Fix equality operator ambiguity
---
llvm/lib/Target/X86/X86WinEHUnwindV2.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/llvm/lib/Target/X86/X86WinEHUnwindV2.cpp b/llvm/lib/Target/X86/X86WinEHUnwindV2.cpp
index e9081a4ae4e72..0af7cd1e92a2a 100644
--- a/llvm/lib/Target/X86/X86WinEHUnwindV2.cpp
+++ b/llvm/lib/Target/X86/X86WinEHUnwindV2.cpp
@@ -232,7 +232,7 @@ bool X86WinEHUnwindV2::runOnMachineFunction(MachineFunction &MF) {
MF, Mode,
"The epilog is popping more registers than the prolog pushed");
if (PushedRegs[PushedRegs.size() - PoppedRegCount] !=
- MI.getOperand(0).getReg())
+ MI.getOperand(0).getReg().id())
return rejectCurrentFunctionInternalError(
MF, Mode,
"The epilog is popping a registers in "
More information about the llvm-commits
mailing list