diff options
author | Sagar Thakur <sagar.thakur@imgtec.com> | 2017-02-15 10:48:11 +0000 |
---|---|---|
committer | Sagar Thakur <sagar.thakur@imgtec.com> | 2017-02-15 10:48:11 +0000 |
commit | ec65792910293883ebb71de4cc857ff222aa5aaf (patch) | |
tree | 1b16cfadb0fa6619e633acc1adcb50a4c90fa75e /llvm/lib/CodeGen/XRayInstrumentation.cpp | |
parent | 9d0ed930ec9a47a2fc2acb9b633ea186b7af669d (diff) | |
download | bcm5719-llvm-ec65792910293883ebb71de4cc857ff222aa5aaf.tar.gz bcm5719-llvm-ec65792910293883ebb71de4cc857ff222aa5aaf.zip |
[LLVM][XRAY][MIPS] Support xray on mips/mipsel/mips64/mips64el
Summary: Adds support for xray instrumentation on mips for both 32-bit and 64-bit.
Reviewed by sdardis, dberris
Differential: D27697
llvm-svn: 295164
Diffstat (limited to 'llvm/lib/CodeGen/XRayInstrumentation.cpp')
-rw-r--r-- | llvm/lib/CodeGen/XRayInstrumentation.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/XRayInstrumentation.cpp b/llvm/lib/CodeGen/XRayInstrumentation.cpp index 3cecda8c539..7d2848bdc13 100644 --- a/llvm/lib/CodeGen/XRayInstrumentation.cpp +++ b/llvm/lib/CodeGen/XRayInstrumentation.cpp @@ -158,6 +158,10 @@ bool XRayInstrumentation::runOnMachineFunction(MachineFunction &MF) { case Triple::ArchType::thumb: case Triple::ArchType::aarch64: case Triple::ArchType::ppc64le: + case Triple::ArchType::mips: + case Triple::ArchType::mipsel: + case Triple::ArchType::mips64: + case Triple::ArchType::mips64el: // For the architectures which don't have a single return instruction prependRetWithPatchableExit(MF, TII); break; |