[CSSPGO] Remove used of PseudoProbeAttributes::Reserved
authormodimo <modimo@fb.com>
Thu, 5 Aug 2021 00:23:22 +0000 (17:23 -0700)
committermodimo <modimo@fb.com>
Thu, 5 Aug 2021 00:23:56 +0000 (17:23 -0700)
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

llvm/include/llvm/MC/MCPseudoProbe.h
llvm/lib/MC/MCPseudoProbe.cpp

index c1bacef..76cda75 100644 (file)
@@ -123,10 +123,6 @@ public:
 
   bool isEntry() const { return Index == PseudoProbeFirstId; }
 
-  bool isTailCall() const {
-    return Attributes & static_cast<uint8_t>(PseudoProbeAttributes::Reserved);
-  }
-
   uint64_t getGuid() const { return Guid; }
 
   uint64_t getIndex() const { return Index; }
index 7afe7e4..1e65cbf 100644 (file)
@@ -275,9 +275,6 @@ void MCDecodedPseudoProbe::print(raw_ostream &OS,
   }
   OS << "Index: " << Index << "  ";
   OS << "Type: " << PseudoProbeTypeStr[static_cast<uint8_t>(Type)] << "  ";
-  if (isTailCall()) {
-    OS << "TailCall  ";
-  }
   std::string InlineContextStr = getInlineContextStr(GUID2FuncMAP, ShowName);
   if (InlineContextStr.size()) {
     OS << "Inlined: @ ";