summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Hexagon/HexagonInstrInfo.h
diff options
context:
space:
mode:
authorDean Michael Berris <dberris@google.com>2016-09-01 01:03:22 +0000
committerDean Michael Berris <dberris@google.com>2016-09-01 01:03:22 +0000
commit40e6ba16a1446acc46f490e5e4ccbbcd2fd35db8 (patch)
tree624261a848fe62a58d626aa13ef2a40e546a5924 /llvm/lib/Target/Hexagon/HexagonInstrInfo.h
parent3e34cfe8b62d2bfae7a7ccb4d7ac7bec57b54ca5 (diff)
downloadbcm5719-llvm-40e6ba16a1446acc46f490e5e4ccbbcd2fd35db8.tar.gz
bcm5719-llvm-40e6ba16a1446acc46f490e5e4ccbbcd2fd35db8.zip
[XRay][NFC] Promote isTailCall() as virtual in TargetInstrInfo.
This change is broken out from D23986, where XRay detects tail call exits. llvm-svn: 280331
Diffstat (limited to 'llvm/lib/Target/Hexagon/HexagonInstrInfo.h')
-rw-r--r--llvm/lib/Target/Hexagon/HexagonInstrInfo.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/lib/Target/Hexagon/HexagonInstrInfo.h b/llvm/lib/Target/Hexagon/HexagonInstrInfo.h
index 4715a4ffcc3..fcb3f037354 100644
--- a/llvm/lib/Target/Hexagon/HexagonInstrInfo.h
+++ b/llvm/lib/Target/Hexagon/HexagonInstrInfo.h
@@ -340,7 +340,10 @@ public:
bool isSignExtendingLoad(const MachineInstr &MI) const;
bool isSolo(const MachineInstr &MI) const;
bool isSpillPredRegOp(const MachineInstr &MI) const;
- bool isTailCall(const MachineInstr &MI) const;
+
+ // Defined in Target.h.
+ bool isTailCall(const MachineInstr &MI) const override;
+
bool isTC1(const MachineInstr &MI) const;
bool isTC2(const MachineInstr &MI) const;
bool isTC2Early(const MachineInstr &MI) const;
OpenPOWER on IntegriCloud