aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineOutliner.cpp
diff options
context:
space:
mode:
authorJessica Paquette <jpaquette@apple.com>2018-06-27 17:43:27 +0000
committerJessica Paquette <jpaquette@apple.com>2018-06-27 17:43:27 +0000
commitf472f6159a0d42d6f2144c457ea32543ff5410a1 (patch)
treeb1c2aadead5ce6f16a48169632f548028c666eb3 /llvm/lib/CodeGen/MachineOutliner.cpp
parentd8ba8ae875dfa20b573425e1a0764d4c635e04f4 (diff)
downloadllvm-f472f6159a0d42d6f2144c457ea32543ff5410a1.zip
llvm-f472f6159a0d42d6f2144c457ea32543ff5410a1.tar.gz
llvm-f472f6159a0d42d6f2144c457ea32543ff5410a1.tar.bz2
[MachineOutliner] Don't outline sequences where x16/x17/nzcv are live across
It isn't safe to outline sequences of instructions where x16/x17/nzcv live across the sequence. This teaches the outliner to check whether or not a specific canidate has x16/x17/nzcv live across it and discard the candidate in the case that that is true. https://bugs.llvm.org/show_bug.cgi?id=37573 https://reviews.llvm.org/D47655 llvm-svn: 335758
Diffstat (limited to 'llvm/lib/CodeGen/MachineOutliner.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineOutliner.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineOutliner.cpp b/llvm/lib/CodeGen/MachineOutliner.cpp
index fde3520..8f78240 100644
--- a/llvm/lib/CodeGen/MachineOutliner.cpp
+++ b/llvm/lib/CodeGen/MachineOutliner.cpp
@@ -65,7 +65,6 @@
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/CodeGen/TargetInstrInfo.h"
-#include "llvm/CodeGen/TargetRegisterInfo.h"
#include "llvm/CodeGen/TargetSubtargetInfo.h"
#include "llvm/IR/DIBuilder.h"
#include "llvm/IR/IRBuilder.h"