[llvm] a628bc3 - [AArch64] Fix a warning
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 3 19:55:14 PDT 2024
Author: Kazu Hirata
Date: 2024-09-03T19:55:08-07:00
New Revision: a628bc3c2e7314e4b7c9af0d10cf39a70c731d15
URL: https://github.com/llvm/llvm-project/commit/a628bc3c2e7314e4b7c9af0d10cf39a70c731d15
DIFF: https://github.com/llvm/llvm-project/commit/a628bc3c2e7314e4b7c9af0d10cf39a70c731d15.diff
LOG: [AArch64] Fix a warning
This patch fixes:
lib/Target/AArch64/AArch64GenPostLegalizeGILowering.inc:506:14:
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 f99d1e276c60f9..25989fb5988954 100644
--- a/llvm/lib/Target/AArch64/AArch64Combine.td
+++ b/llvm/lib/Target/AArch64/AArch64Combine.td
@@ -223,7 +223,7 @@ def build_vector_to_dup : GICombineRule<
>;
def build_vector_to_vector_insert : GICombineRule<
- (defs root:$root, register_matchinfo:$matchinfo),
+ (defs root:$root),
(match (G_BUILD_VECTOR $dst, GIVariadic<>:$unused):$root,
[{ return matchLowerBuildToInsertVecElt(*${root}, MRI); }]),
(apply [{ applyLowerBuildToInsertVecElt(*${root}, MRI, B); }])
More information about the llvm-commits
mailing list