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
055b34f0
Commit
055b34f0
authored
Oct 08, 2014
by
Kevin Modzelewski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Forgot to include this part
parent
1e644d54
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
3 deletions
+24
-3
llvm_patches/0007-Enable-invoking-the-patchpoint-intrinsic.patch
...tches/0007-Enable-invoking-the-patchpoint-intrinsic.patch
+24
-3
No files found.
llvm_patches/0007-Enable-invoking-the-patchpoint-intrinsic.patch
View file @
055b34f0
From 4
655475f21dcced719f186b43a18c1b07be37116
Mon Sep 17 00:00:00 2001
From 4
3ee247e7c1d817438625b7ca217cf08748fc06c
Mon Sep 17 00:00:00 2001
From: Kevin Modzelewski <kevmod@gmail.com>
Date: Wed, 8 Oct 2014
00:53:51
+0000
Date: Wed, 8 Oct 2014
10:22:17
+0000
Subject: [PATCH] Enable invoking the patchpoint intrinsic
---
include/llvm/IR/Intrinsics.td | 6 +-
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | 169 +++++++++++++----------
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h | 19 ++-
lib/IR/Verifier.cpp | 10 +-
test/CodeGen/X86/patchpoint-invoke.ll | 65 +++++++++
test/Verifier/invoke.ll | 2 +-
5 files changed, 182 insertions(+), 83
deletions(-)
6 files changed, 186 insertions(+), 85
deletions(-)
create mode 100644 test/CodeGen/X86/patchpoint-invoke.ll
diff --git a/include/llvm/IR/Intrinsics.td b/include/llvm/IR/Intrinsics.td
index e79b48e..1b9339a 100644
--- a/include/llvm/IR/Intrinsics.td
+++ b/include/llvm/IR/Intrinsics.td
@@ -483,11 +483,13 @@
def int_experimental_stackmap : Intrinsic<[],
def int_experimental_patchpoint_void : Intrinsic<[],
[llvm_i64_ty, llvm_i32_ty,
llvm_ptr_ty, llvm_i32_ty,
- llvm_vararg_ty]>;
+ llvm_vararg_ty],
+ [Throws]>;
def int_experimental_patchpoint_i64 : Intrinsic<[llvm_i64_ty],
[llvm_i64_ty, llvm_i32_ty,
llvm_ptr_ty, llvm_i32_ty,
- llvm_vararg_ty]>;
+ llvm_vararg_ty],
+ [Throws]>;
//===-------------------------- Other Intrinsics --------------------------===//
//
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
index 91b1022..a63c90a 100644
--- a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
...
...
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