Skip to content

Commit 2cb72a2

Browse files
committed
merge main into amd-staging
2 parents cbce497 + 80a5332 commit 2cb72a2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+2132
-1327
lines changed

bolt/lib/Core/BinaryBasicBlock.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
namespace llvm {
2323
namespace bolt {
2424

25-
constexpr uint32_t BinaryBasicBlock::INVALID_OFFSET;
26-
2725
bool operator<(const BinaryBasicBlock &LHS, const BinaryBasicBlock &RHS) {
2826
return LHS.Index < RHS.Index;
2927
}

bolt/lib/Core/DynoStats.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,6 @@ PrintDynoOpcodeStat("print-dyno-opcode-stats",
5151
namespace llvm {
5252
namespace bolt {
5353

54-
constexpr const char *DynoStats::Desc[];
55-
5654
bool DynoStats::operator<(const DynoStats &Other) const {
5755
return std::lexicographical_compare(
5856
&Stats[FIRST_DYNO_STAT], &Stats[LAST_DYNO_STAT],

bolt/lib/Profile/DataAggregator.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,6 @@ std::vector<SectionNameAndRange> getTextSections(const BinaryContext *BC) {
159159
}
160160
}
161161

162-
constexpr uint64_t DataAggregator::KernelBaseAddr;
163-
164162
DataAggregator::~DataAggregator() { deleteTempFiles(); }
165163

166164
namespace {

bolt/lib/Rewrite/RewriteInstance.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,6 @@ cl::bits<GadgetScannerKind> GadgetScannersToRun(
295295
} // namespace opts
296296

297297
// FIXME: implement a better way to mark sections for replacement.
298-
constexpr const char *RewriteInstance::SectionsToOverwrite[];
299298
std::vector<std::string> RewriteInstance::DebugSectionsToOverwrite = {
300299
".debug_abbrev", ".debug_aranges", ".debug_line", ".debug_line_str",
301300
".debug_loc", ".debug_loclists", ".debug_ranges", ".debug_rnglists",

clang-tools-extra/clang-doc/BitcodeWriter.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,8 +303,6 @@ static const std::vector<std::pair<BlockId, std::vector<RecordId>>>
303303

304304
// AbbreviationMap
305305

306-
constexpr unsigned char BitCodeConstants::Signature[];
307-
308306
void ClangDocBitcodeWriter::AbbreviationMap::add(RecordId RID,
309307
unsigned AbbrevID) {
310308
assert(RecordIdNameMap[RID] && "Unknown RecordId.");

clang-tools-extra/clangd/ClangdLSPServer.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,6 @@ class ClangdLSPServer::MessageHandler : public Transport::MessageHandler {
456456

457457
ClangdLSPServer &Server;
458458
};
459-
constexpr int ClangdLSPServer::MessageHandler::MaxReplayCallbacks;
460459

461460
// call(), notify(), and reply() wrap the Transport, adding logging and locking.
462461
void ClangdLSPServer::callMethod(StringRef Method, llvm::json::Value Params,

clang-tools-extra/clangd/FileDistance.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ static llvm::SmallString<128> canonicalize(llvm::StringRef Path) {
5454
return Result;
5555
}
5656

57-
constexpr const unsigned FileDistance::Unreachable;
5857
const llvm::hash_code FileDistance::RootHash =
5958
llvm::hash_value(llvm::StringRef("/"));
6059

clang-tools-extra/clangd/FuzzyMatch.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,6 @@
6262
namespace clang {
6363
namespace clangd {
6464

65-
constexpr int FuzzyMatcher::MaxPat;
66-
constexpr int FuzzyMatcher::MaxWord;
67-
6865
static char lower(char C) { return C >= 'A' && C <= 'Z' ? C + ('a' - 'A') : C; }
6966
// A "negative infinity" score that won't overflow.
7067
// We use this to mark unreachable states and forbidden solutions.

clang-tools-extra/clangd/index/SymbolLocation.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@
1111
namespace clang {
1212
namespace clangd {
1313

14-
constexpr uint32_t SymbolLocation::Position::MaxLine;
15-
constexpr uint32_t SymbolLocation::Position::MaxColumn;
16-
1714
void SymbolLocation::Position::setLine(uint32_t L) {
1815
if (L > MaxLine)
1916
L = MaxLine;

clang/include/clang/Basic/arm_neon.td

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1921,6 +1921,14 @@ let ArchGuard = "defined(__aarch64__) || defined(__arm64ec__)", TargetGuard = "f
19211921
def VFMLSL_LANEQ_HIGH : SOpInst<"vfmlsl_laneq_high", "(F>)(F>)F(FQ)I", "hQh", OP_FMLSL_LN_Hi>;
19221922
}
19231923

1924+
let ArchGuard = "defined(__aarch64__)", TargetGuard = "f8f16mm,neon" in {
1925+
def VMMLA_F16_MF8 : VInst<"vmmla_f16_mf8_fpm", "(>F)(>F)..V", "Qm">;
1926+
}
1927+
1928+
let ArchGuard = "defined(__aarch64__)", TargetGuard = "f8f32mm,neon" in {
1929+
def VMMLA_F32_MF8 : VInst<"vmmla_f32_mf8_fpm", "(>>F)(>>F)..V", "Qm">;
1930+
}
1931+
19241932
let TargetGuard = "i8mm,neon" in {
19251933
def VMMLA : SInst<"vmmla", "..(<<)(<<)", "QUiQi">;
19261934
def VUSMMLA : SInst<"vusmmla", "..(<<U)(<<)", "Qi">;

0 commit comments

Comments
 (0)