Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
Pyston
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
Pyston
Commits
62dc79a2
Commit
62dc79a2
authored
Nov 04, 2014
by
Kevin Modzelewski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update some recent patches to closer match what actually got mainlined
parent
7684b3fc
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
17 deletions
+21
-17
llvm_patches/0007-Enable-invoking-the-patchpoint-intrinsic.patch
...tches/0007-Enable-invoking-the-patchpoint-intrinsic.patch
+11
-11
llvm_patches/0008-Add-llvm.experimental.patchpoint.double.patch
...atches/0008-Add-llvm.experimental.patchpoint.double.patch
+6
-6
tools/git_svn_gotorev.py
tools/git_svn_gotorev.py
+4
-0
No files found.
llvm_patches/0007-Enable-invoking-the-patchpoint-intrinsic.patch
View file @
62dc79a2
...
@@ -57,7 +57,7 @@ index 91b1022..a63c90a 100644
...
@@ -57,7 +57,7 @@ index 91b1022..a63c90a 100644
+ break;
+ break;
+ case Intrinsic::experimental_patchpoint_void:
+ case Intrinsic::experimental_patchpoint_void:
+ case Intrinsic::experimental_patchpoint_i64:
+ case Intrinsic::experimental_patchpoint_i64:
+
visitPatchpoint(ImmutableCallSite(&I)
, LandingPad);
+
visitPatchpoint(&I
, LandingPad);
+ break;
+ break;
+ }
+ }
+ } else {
+ } else {
...
@@ -71,7 +71,7 @@ index 91b1022..a63c90a 100644
...
@@ -71,7 +71,7 @@ index 91b1022..a63c90a 100644
case Intrinsic::experimental_patchpoint_void:
case Intrinsic::experimental_patchpoint_void:
case Intrinsic::experimental_patchpoint_i64: {
case Intrinsic::experimental_patchpoint_i64: {
- visitPatchpoint(I);
- visitPatchpoint(I);
+ visitPatchpoint(
ImmutableCallSite(&I), nullptr
);
+ visitPatchpoint(
&I
);
return nullptr;
return nullptr;
}
}
}
}
...
@@ -405,7 +405,7 @@ index 236f1a6..bb7e82e 100644
...
@@ -405,7 +405,7 @@ index 236f1a6..bb7e82e 100644
void visitVACopy(const CallInst &I);
void visitVACopy(const CallInst &I);
void visitStackmap(const CallInst &I);
void visitStackmap(const CallInst &I);
- void visitPatchpoint(const CallInst &I);
- void visitPatchpoint(const CallInst &I);
+ void visitPatchpoint(ImmutableCallSite CS, MachineBasicBlock *LandingPad);
+ void visitPatchpoint(ImmutableCallSite CS, MachineBasicBlock *LandingPad
= nullptr
);
void visitUserOp1(const Instruction &I) {
void visitUserOp1(const Instruction &I) {
llvm_unreachable("UserOp1 should not exist at instruction selection time!");
llvm_unreachable("UserOp1 should not exist at instruction selection time!");
...
...
llvm_patches/0008-Add-llvm.experimental.patchpoint.double.patch
View file @
62dc79a2
...
@@ -82,7 +82,7 @@ index a63c90a..dc45bf7 100644
...
@@ -82,7 +82,7 @@ index a63c90a..dc45bf7 100644
case Intrinsic::experimental_patchpoint_void:
case Intrinsic::experimental_patchpoint_void:
case Intrinsic::experimental_patchpoint_i64:
case Intrinsic::experimental_patchpoint_i64:
+ case Intrinsic::experimental_patchpoint_double:
+ case Intrinsic::experimental_patchpoint_double:
visitPatchpoint(ImmutableCallSite(&I)
, LandingPad);
visitPatchpoint(&I
, LandingPad);
break;
break;
}
}
@@ -5536,7 +5537,8 @@
SelectionDAGBuilder::visitIntrinsicCall(const CallInst &I, unsigned Intrinsic) {
@@ -5536,7 +5537,8 @@
SelectionDAGBuilder::visitIntrinsicCall(const CallInst &I, unsigned Intrinsic) {
...
@@ -92,7 +92,7 @@ index a63c90a..dc45bf7 100644
...
@@ -92,7 +92,7 @@ index a63c90a..dc45bf7 100644
- case Intrinsic::experimental_patchpoint_i64: {
- case Intrinsic::experimental_patchpoint_i64: {
+ case Intrinsic::experimental_patchpoint_i64:
+ case Intrinsic::experimental_patchpoint_i64:
+ case Intrinsic::experimental_patchpoint_double: {
+ case Intrinsic::experimental_patchpoint_double: {
visitPatchpoint(
ImmutableCallSite(&I), nullptr
);
visitPatchpoint(
&I
);
return nullptr;
return nullptr;
}
}
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
...
...
tools/git_svn_gotorev.py
View file @
62dc79a2
...
@@ -85,6 +85,10 @@ if __name__ == "__main__":
...
@@ -85,6 +85,10 @@ if __name__ == "__main__":
continue
continue
if
"stackmap-sections-for-ELF"
in
patch_fn
and
svn_rev
>=
214538
:
if
"stackmap-sections-for-ELF"
in
patch_fn
and
svn_rev
>=
214538
:
continue
continue
if
"Enable-invoking-the-patchpoint-intrinsic"
in
patch_fn
and
svn_rev
>=
220055
:
continue
if
"support-varargs-intrinsics"
in
patch_fn
and
svn_rev
>=
220205
:
continue
patch_fn
=
os
.
path
.
abspath
(
os
.
path
.
join
(
patch_dir
,
patch_fn
))
patch_fn
=
os
.
path
.
abspath
(
os
.
path
.
join
(
patch_dir
,
patch_fn
))
code
=
subprocess
.
call
([
"git"
,
"am"
,
patch_fn
],
cwd
=
repo
)
code
=
subprocess
.
call
([
"git"
,
"am"
,
patch_fn
],
cwd
=
repo
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment