Skip to content
Snippets Groups Projects
Commit 8f275094 authored by Hashim Sharif's avatar Hashim Sharif
Browse files

Merging

parents cdbba13a b1c68b3c
No related branches found
No related tags found
No related merge requests found
...@@ -74,6 +74,7 @@ def prompt_args(): ...@@ -74,6 +74,7 @@ def prompt_args():
def parse_int(s: str): def parse_int(s: str):
try: try:
v = int(s) v = int(s)
return v
except ValueError: except ValueError:
return None return None
if v <= 0: if v <= 0:
......
...@@ -10,7 +10,7 @@ target triple = "x86_64-unknown-linux-gnu" ...@@ -10,7 +10,7 @@ target triple = "x86_64-unknown-linux-gnu"
define dso_local void @Func1(i32* %In, i64 %Insize, i32* %Out, i64 %Outsize) #0 { define dso_local void @Func1(i32* %In, i64 %Insize, i32* %Out, i64 %Outsize) #0 {
entry: entry:
tail call void @__hpvm__hint(i32 1) #3 tail call void @__hpvm__hint(i32 1) #3
tail call void (i32, ...) @__hpvm__attributes(i32 1, i32* %In, i32* %Out, i32 1, i32* %Out) #3 tail call void (i32, ...) @__hpvm__attributes(i32 2, i32* %In, i32* %Out, i32 1, i32* %Out) #3
%0 = load i32, i32* %In, align 4, !tbaa !2 %0 = load i32, i32* %In, align 4, !tbaa !2
store i32 %0, i32* %Out, align 4, !tbaa !2 store i32 %0, i32* %Out, align 4, !tbaa !2
tail call void (i32, ...) @__hpvm__return(i32 1, i32* %Out) #3 tail call void (i32, ...) @__hpvm__return(i32 1, i32* %Out) #3
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment