[PATCH] D107514: [CSSPGO] Remove used of PseudoProbeAttributes::Reserved
Di Mo via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 4 17:16:51 PDT 2021
modimo created this revision.
modimo added reviewers: hoy, wenlei, wmi, luoj1.
Herald added subscribers: lxfind, hiraditya.
modimo requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
D106861 <https://reviews.llvm.org/D106861> added usage of PseudoProbeAttributes::Reserved as TailCall however this usage hasn't been committed/reviewed. Removing this usage.
https://reviews.llvm.org/D107514
Files:
llvm/include/llvm/MC/MCPseudoProbe.h
llvm/lib/MC/MCPseudoProbe.cpp
Index: llvm/lib/MC/MCPseudoProbe.cpp
===================================================================
--- llvm/lib/MC/MCPseudoProbe.cpp
+++ llvm/lib/MC/MCPseudoProbe.cpp
@@ -275,9 +275,6 @@
}
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: @ ";
Index: llvm/include/llvm/MC/MCPseudoProbe.h
===================================================================
--- llvm/include/llvm/MC/MCPseudoProbe.h
+++ llvm/include/llvm/MC/MCPseudoProbe.h
@@ -123,10 +123,6 @@
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; }
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107514.364296.patch
Type: text/x-patch
Size: 997 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210805/a90c55d5/attachment.bin>
More information about the llvm-commits
mailing list