[llvm] e65faed - [AArch64] Fix a warning
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 15 02:24:18 PDT 2025
Author: Kazu Hirata
Date: 2025-04-15T02:24:12-07:00
New Revision: e65faed187485db3638aa6415f7e9df053623dcf
URL: https://github.com/llvm/llvm-project/commit/e65faed187485db3638aa6415f7e9df053623dcf
DIFF: https://github.com/llvm/llvm-project/commit/e65faed187485db3638aa6415f7e9df053623dcf.diff
LOG: [AArch64] Fix a warning
This patch fixes:
lib/Target/AArch64/AArch64GenPostLegalizeGILowering.inc:570:42:
error: unused variable 'GIMatchData_matchinfo'
[-Werror,-Wunused-variable]
Added:
Modified:
llvm/lib/Target/AArch64/AArch64Combine.td
Removed:
################################################################################
diff --git a/llvm/lib/Target/AArch64/AArch64Combine.td b/llvm/lib/Target/AArch64/AArch64Combine.td
index d969d1a08d4f8..f84e83816bf33 100644
--- a/llvm/lib/Target/AArch64/AArch64Combine.td
+++ b/llvm/lib/Target/AArch64/AArch64Combine.td
@@ -226,7 +226,7 @@ def extmultomull : GICombineRule<
>;
def lower_mulv2s64 : GICombineRule<
- (defs root:$root, mull_matchdata:$matchinfo),
+ (defs root:$root),
(match (G_MUL $dst, $src1, $src2):$root,
[{ return matchMulv2s64(*${root}, MRI); }]),
(apply [{ applyMulv2s64(*${root}, MRI, B, Observer); }])
More information about the llvm-commits
mailing list