summaryrefslogtreecommitdiff
path: root/lib/CodeGen/Passes.cpp
diff options
context:
space:
mode:
authorJuergen Ributzka <juergen@apple.com>2014-06-26 23:39:44 +0000
committerJuergen Ributzka <juergen@apple.com>2014-06-26 23:39:44 +0000
commit307a6447e5eb143c480646ab9ae61f0aaafcdd18 (patch)
tree0dd82b9a335623dae374a1da7041eb8cec1a3ef5 /lib/CodeGen/Passes.cpp
parent9bd578efeab3b521ba37dd7706dc8f3a98ddb4bd (diff)
downloadllvm-307a6447e5eb143c480646ab9ae61f0aaafcdd18.tar.gz
llvm-307a6447e5eb143c480646ab9ae61f0aaafcdd18.tar.bz2
llvm-307a6447e5eb143c480646ab9ae61f0aaafcdd18.tar.xz
[Stackmaps] Remove the liveness calculation for stackmap intrinsics.
There is no need to calculate the liveness information for stackmaps. The liveness information is still available for the patchpoint intrinsic and that is also the intended usage model. Related to <rdar://problem/17473725> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211816 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/Passes.cpp')
-rw-r--r--lib/CodeGen/Passes.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/CodeGen/Passes.cpp b/lib/CodeGen/Passes.cpp
index 9568e238a2..bdcde102da 100644
--- a/lib/CodeGen/Passes.cpp
+++ b/lib/CodeGen/Passes.cpp
@@ -31,7 +31,6 @@
using namespace llvm;
namespace llvm {
-extern cl::opt<bool> EnableStackMapLiveness;
extern cl::opt<bool> EnablePatchPointLiveness;
}
@@ -566,7 +565,7 @@ void TargetPassConfig::addMachinePasses() {
if (addPreEmitPass())
printAndVerify("After PreEmit passes");
- if (EnableStackMapLiveness || EnablePatchPointLiveness)
+ if (EnablePatchPointLiveness)
addPass(&StackMapLivenessID);
}