mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
[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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user