aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2025-04-15 02:24:12 -0700
committerKazu Hirata <kazu@google.com>2025-04-15 02:24:12 -0700
commite65faed187485db3638aa6415f7e9df053623dcf (patch)
treeaf93f0192deb9984d37157abcf44c97e20099755
parent0f86e2395e4f22bf3cb05e38be05b90575066829 (diff)
downloadllvm-e65faed187485db3638aa6415f7e9df053623dcf.zip
llvm-e65faed187485db3638aa6415f7e9df053623dcf.tar.gz
llvm-e65faed187485db3638aa6415f7e9df053623dcf.tar.bz2
[AArch64] Fix a warning
This patch fixes: lib/Target/AArch64/AArch64GenPostLegalizeGILowering.inc:570:42: error: unused variable 'GIMatchData_matchinfo' [-Werror,-Wunused-variable]
-rw-r--r--llvm/lib/Target/AArch64/AArch64Combine.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64Combine.td b/llvm/lib/Target/AArch64/AArch64Combine.td
index d969d1a..f84e838 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); }])