[llvm] [clang][AArch64] Fix incorrect rebase (PR #77769)
John Brawn via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 11 05:38:56 PST 2024
https://github.com/john-brawn-arm created https://github.com/llvm/llvm-project/pull/77769
When rebasing #75486 I missed adding an extra initializer value to ParsedBranchProtection, so fix that.
>From d9f035c108b26bf8ee6e7d8f5adbb1ce2c43a736 Mon Sep 17 00:00:00 2001
From: John Brawn <john.brawn at arm.com>
Date: Thu, 11 Jan 2024 13:33:59 +0000
Subject: [PATCH] [clang][AArch64] Fix incorrect rebase
When rebasing #75486 I missed adding an extra initializer value to
ParsedBranchProtection, so fix that.
---
llvm/lib/TargetParser/ARMTargetParserCommon.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/llvm/lib/TargetParser/ARMTargetParserCommon.cpp b/llvm/lib/TargetParser/ARMTargetParserCommon.cpp
index 9ce6c502016ee2..45d04f9bcbfb6a 100644
--- a/llvm/lib/TargetParser/ARMTargetParserCommon.cpp
+++ b/llvm/lib/TargetParser/ARMTargetParserCommon.cpp
@@ -140,7 +140,7 @@ ARM::EndianKind ARM::parseArchEndian(StringRef Arch) {
// an erroneous part of the spec.
bool ARM::parseBranchProtection(StringRef Spec, ParsedBranchProtection &PBP,
StringRef &Err) {
- PBP = {"none", "a_key", false, false};
+ PBP = {"none", "a_key", false, false, false};
if (Spec == "none")
return true; // defaults are ok
More information about the llvm-commits
mailing list