Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hpvm-release
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
llvm
hpvm-release
Commits
85270e29
Commit
85270e29
authored
3 years ago
by
Yifan Zhao
Browse files
Options
Downloads
Patches
Plain Diff
hpvm-clang adds no-exceptions by default
parent
7b143806
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
hpvm/tools/hpvm-clang/main.py.in
+3
-0
3 additions, 0 deletions
hpvm/tools/hpvm-clang/main.py.in
with
3 additions
and
0 deletions
hpvm/tools/hpvm-clang/main.py.in
+
3
−
0
View file @
85270e29
...
@@ -40,6 +40,9 @@ def compile_hpvm_c(
...
@@ -40,6 +40,9 @@ def compile_hpvm_c(
):
):
from
subprocess
import
check_output
from
subprocess
import
check_output
# FIXME: Added this because Exceptions are not supported in HPVM.
flags
=
(
flags
or
[])
+
[
"
no-exceptions
"
]
passes
=
[
"
LLVMBuildDFG
"
]
passes
=
[
"
LLVMBuildDFG
"
]
pass_flags
=
[
"
buildDFG
"
]
pass_flags
=
[
"
buildDFG
"
]
if
tensor_target
==
"
tensor
"
:
if
tensor_target
==
"
tensor
"
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment