summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86InstrInfo.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/X86/X86InstrInfo.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/X86/X86InstrInfo.h')
-rw-r--r--llvm/lib/Target/X86/X86InstrInfo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/X86InstrInfo.h b/llvm/lib/Target/X86/X86InstrInfo.h
index 5c8de0fe281..5fff2a3ac7d 100644
--- a/llvm/lib/Target/X86/X86InstrInfo.h
+++ b/llvm/lib/Target/X86/X86InstrInfo.h
@@ -541,6 +541,8 @@ public:
ArrayRef<std::pair<unsigned, const char *>>
getSerializableDirectMachineOperandTargetFlags() const override;
+ bool isTailCall(const MachineInstr &Inst) const override;
+
protected:
/// Commutes the operands in the given instruction by changing the operands
/// order and/or changing the instruction's opcode and/or the immediate value
OpenPOWER on IntegriCloud