Skip to content

Commit 041b525

Browse files
committed
[CSSPGO] Remove used of PseudoProbeAttributes::Reserved
D106861 added usage of PseudoProbeAttributes::Reserved as TailCall however this usage hasn't been committed/reviewed. Removing this usage. Testing ninja check-all Reviewed By: wenlei Differential Revision: https://reviews.llvm.org/D107514
1 parent e52946b commit 041b525

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

llvm/include/llvm/MC/MCPseudoProbe.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,6 @@ class MCPseudoProbeBase {
123123

124124
bool isEntry() const { return Index == PseudoProbeFirstId; }
125125

126-
bool isTailCall() const {
127-
return Attributes & static_cast<uint8_t>(PseudoProbeAttributes::Reserved);
128-
}
129-
130126
uint64_t getGuid() const { return Guid; }
131127

132128
uint64_t getIndex() const { return Index; }

llvm/lib/MC/MCPseudoProbe.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -275,9 +275,6 @@ void MCDecodedPseudoProbe::print(raw_ostream &OS,
275275
}
276276
OS << "Index: " << Index << " ";
277277
OS << "Type: " << PseudoProbeTypeStr[static_cast<uint8_t>(Type)] << " ";
278-
if (isTailCall()) {
279-
OS << "TailCall ";
280-
}
281278
std::string InlineContextStr = getInlineContextStr(GUID2FuncMAP, ShowName);
282279
if (InlineContextStr.size()) {
283280
OS << "Inlined: @ ";

0 commit comments

Comments
 (0)