From 85270e29472ae53fe2a0c066e7da8f8e57b58ed2 Mon Sep 17 00:00:00 2001 From: Yifan Zhao <yifanz16@illinois.edu> Date: Sun, 4 Apr 2021 01:59:33 -0500 Subject: [PATCH] hpvm-clang adds no-exceptions by default --- hpvm/tools/hpvm-clang/main.py.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hpvm/tools/hpvm-clang/main.py.in b/hpvm/tools/hpvm-clang/main.py.in index 6d3c4595ea..f20bae4df9 100644 --- a/hpvm/tools/hpvm-clang/main.py.in +++ b/hpvm/tools/hpvm-clang/main.py.in @@ -40,6 +40,9 @@ def compile_hpvm_c( ): from subprocess import check_output + # FIXME: Added this because Exceptions are not supported in HPVM. + flags = (flags or []) + ["no-exceptions"] + passes = ["LLVMBuildDFG"] pass_flags = ["buildDFG"] if tensor_target == "tensor": -- GitLab