[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
This commit is contained in:
Juergen Ributzka
2014-06-26 23:39:44 +00:00
parent 9bd578efea
commit 307a6447e5
4 changed files with 53 additions and 129 deletions
+1 -2
View File
@@ -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);
}