From f2c1e41f7705bca0e90bbc39bf11d4cd14feaeac Mon Sep 17 00:00:00 2001 From: quic-areg Date: Fri, 7 Nov 2025 10:45:18 -0800 Subject: [PATCH 1/2] [Hexagon] Add missing build attributes Attributes for v77-81 were recorded but ignored. --- llvm/lib/Object/ELFObjectFile.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/llvm/lib/Object/ELFObjectFile.cpp b/llvm/lib/Object/ELFObjectFile.cpp index f9fda23469ee5..178b557c38541 100644 --- a/llvm/lib/Object/ELFObjectFile.cpp +++ b/llvm/lib/Object/ELFObjectFile.cpp @@ -311,6 +311,12 @@ static std::optional hexagonAttrToFeatureString(unsigned Attr) { return "v73"; case 75: return "v75"; + case 77: + return "v77"; + case 79: + return "v79"; + case 81: + return "v81"; default: return {}; } From 4477ec1b7529a8c2a9fc9896e45ce81e269858a5 Mon Sep 17 00:00:00 2001 From: quic-areg Date: Fri, 7 Nov 2025 12:08:29 -0800 Subject: [PATCH 2/2] remove v77 --- llvm/lib/Object/ELFObjectFile.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/llvm/lib/Object/ELFObjectFile.cpp b/llvm/lib/Object/ELFObjectFile.cpp index 178b557c38541..3f0ecbe5e439b 100644 --- a/llvm/lib/Object/ELFObjectFile.cpp +++ b/llvm/lib/Object/ELFObjectFile.cpp @@ -311,8 +311,6 @@ static std::optional hexagonAttrToFeatureString(unsigned Attr) { return "v73"; case 75: return "v75"; - case 77: - return "v77"; case 79: return "v79"; case 81: