[llvm] c814eca - [AArch64RegisterInfo] Supress new warning
Dávid Bolvanský via llvm-commits
llvm-commits at lists.llvm.org
Sat Aug 8 12:47:16 PDT 2020
Author: Dávid Bolvanský
Date: 2020-08-08T21:47:01+02:00
New Revision: c814eca3e4c625e24be47e66fbfd6567e8375750
URL: https://github.com/llvm/llvm-project/commit/c814eca3e4c625e24be47e66fbfd6567e8375750
DIFF: https://github.com/llvm/llvm-project/commit/c814eca3e4c625e24be47e66fbfd6567e8375750.diff
LOG: [AArch64RegisterInfo] Supress new warning
Added:
Modified:
llvm/lib/Target/AArch64/AArch64RegisterInfo.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/AArch64/AArch64RegisterInfo.cpp b/llvm/lib/Target/AArch64/AArch64RegisterInfo.cpp
index 3e9c8c7b6df2..f719cc6e5e4e 100644
--- a/llvm/lib/Target/AArch64/AArch64RegisterInfo.cpp
+++ b/llvm/lib/Target/AArch64/AArch64RegisterInfo.cpp
@@ -334,8 +334,8 @@ bool AArch64RegisterInfo::isAnyArgRegReserved(const MachineFunction &MF) const {
void AArch64RegisterInfo::emitReservedArgRegCallError(
const MachineFunction &MF) const {
const Function &F = MF.getFunction();
- F.getContext().diagnose(DiagnosticInfoUnsupported{F, "AArch64 doesn't support"
- " function calls if any of the argument registers is reserved."});
+ F.getContext().diagnose(DiagnosticInfoUnsupported{F, ("AArch64 doesn't support"
+ " function calls if any of the argument registers is reserved.")});
}
bool AArch64RegisterInfo::isAsmClobberable(const MachineFunction &MF,
More information about the llvm-commits
mailing list