Skip to content

Commit a628bc3

Browse files
[AArch64] Fix a warning
This patch fixes: lib/Target/AArch64/AArch64GenPostLegalizeGILowering.inc:506:14: error: unused variable 'GIMatchData_matchinfo' [-Werror,-Wunused-variable]
1 parent 37263b6 commit a628bc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/AArch64/AArch64Combine.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ def build_vector_to_dup : GICombineRule<
223223
>;
224224

225225
def build_vector_to_vector_insert : GICombineRule<
226-
(defs root:$root, register_matchinfo:$matchinfo),
226+
(defs root:$root),
227227
(match (G_BUILD_VECTOR $dst, GIVariadic<>:$unused):$root,
228228
[{ return matchLowerBuildToInsertVecElt(*${root}, MRI); }]),
229229
(apply [{ applyLowerBuildToInsertVecElt(*${root}, MRI, B); }])

0 commit comments

Comments
 (0)