Skip to content
This repository was archived by the owner on Mar 28, 2020. It is now read-only.

Commit 10ef691

Browse files
committed
[globalisel][aarch64] Correct argument names in comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@288809 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 8c88727 commit 10ef691

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/Target/AArch64/AArch64RegisterBankInfo.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -312,17 +312,17 @@ AArch64RegisterBankInfo::getInstrAlternativeMappings(
312312
/*NumOperands*/ 2);
313313
InstructionMapping FPRMapping(
314314
/*ID*/ 2, /*Cost*/ 1,
315-
AArch64::getCopyMapping(/*DstIsFPR*/ false, /*SrcIsFPR*/ false, Size),
315+
AArch64::getCopyMapping(/*DstIsGPR*/ false, /*SrcIsGPR*/ false, Size),
316316
/*NumOperands*/ 2);
317317
InstructionMapping GPRToFPRMapping(
318318
/*ID*/ 3,
319319
/*Cost*/ copyCost(AArch64::GPRRegBank, AArch64::FPRRegBank, Size),
320-
AArch64::getCopyMapping(/*DstIsFPR*/ false, /*SrcIsFPR*/ true, Size),
320+
AArch64::getCopyMapping(/*DstIsGPR*/ false, /*SrcIsGPR*/ true, Size),
321321
/*NumOperands*/ 2);
322322
InstructionMapping FPRToGPRMapping(
323323
/*ID*/ 3,
324324
/*Cost*/ copyCost(AArch64::GPRRegBank, AArch64::FPRRegBank, Size),
325-
AArch64::getCopyMapping(/*DstIsFPR*/ true, /*SrcIsFPR*/ false, Size),
325+
AArch64::getCopyMapping(/*DstIsGPR*/ true, /*SrcIsGPR*/ false, Size),
326326
/*NumOperands*/ 2);
327327

328328
AltMappings.emplace_back(std::move(GPRMapping));

0 commit comments

Comments
 (0)